From 06c0fd6f711e578409a3536024916b50d322b265 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Storsj=C3=B6?= Date: Mon, 5 Aug 2024 11:43:45 +0300 Subject: [PATCH] WIP: github: Skip everything except for the linux and linux-cross-aarch64 jobs --- .github/workflows/build.yml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d785c7ad..d8be0d24 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -157,7 +157,7 @@ jobs: # to better catch such bugs early. This makes the first-stage toolchain built # here in scheduled builds somewhat slower. linux-asserts: - if: (github.event_name == 'schedule') && (github.repository == 'mstorsjo/llvm-mingw') + if: false needs: [prepare] runs-on: ubuntu-latest steps: @@ -187,7 +187,7 @@ jobs: # Build a cross compiler for macOS, targeting Windows. macos: - if: (github.event_name != 'schedule') || (github.repository == 'mstorsjo/llvm-mingw') + if: false needs: [prepare] runs-on: macos-14 steps: @@ -226,7 +226,7 @@ jobs: # the host environment (libstdc++ or libc++). No artifacts are stored from # these builds, but llvm-mingw's tests are run. msys2: - if: (github.event_name != 'schedule') || (github.repository == 'mstorsjo/llvm-mingw') + if: false needs: [prepare] runs-on: windows-latest defaults: @@ -283,7 +283,7 @@ jobs: # llvm and make a proper standalone toolchain for Windows (for all 4 # architectures). The binaries built here match actual releases quite closely. linux-cross-windows: - if: (github.event_name != 'schedule') || (github.repository == 'mstorsjo/llvm-mingw') + if: false needs: [linux, prepare] runs-on: ubuntu-latest strategy: @@ -331,7 +331,7 @@ jobs: # Run llvm-mingw's tests on x86_64 and i686 with the cross-built corresponding # toolchains from above. test-toolchain: - if: (github.event_name != 'schedule') || (github.repository == 'mstorsjo/llvm-mingw') + if: false needs: [linux-cross-windows] runs-on: windows-latest defaults: @@ -437,7 +437,7 @@ jobs: # This also forces testing the bundled python executables. test-openmp: # Only running these tests in scheduled builds. - if: (github.event_name == 'schedule') && (github.repository == 'mstorsjo/llvm-mingw') + if: false needs: [linux-cross-windows, prepare] runs-on: windows-latest strategy: @@ -501,7 +501,7 @@ jobs: # above. This also forces testing the bundled python executables. test-compiler-rt: # Only running these tests in scheduled builds. - if: (github.event_name == 'schedule') && (github.repository == 'mstorsjo/llvm-mingw') + if: false needs: [linux-cross-windows, prepare] runs-on: windows-latest strategy: @@ -579,7 +579,7 @@ jobs: # enabled, to catch code generation bugs that might trigger asserts, to # find such regressions early. linux-test-cross-build-ffmpeg: - if: (github.event_name == 'schedule') && (github.repository == 'mstorsjo/llvm-mingw') + if: false needs: [linux-asserts] runs-on: ubuntu-latest strategy: @@ -624,7 +624,7 @@ jobs: # compiler itself, but that only show up at runtime. This is only done # for scheduled builds. test-ffmpeg: - if: (github.event_name == 'schedule') && (github.repository == 'mstorsjo/llvm-mingw') + if: false needs: [linux-cross-windows] runs-on: windows-latest defaults: @@ -671,7 +671,7 @@ jobs: make -j$(nproc) fate upload-nightly: - if: (github.event_name == 'schedule') && (github.repository == 'mstorsjo/llvm-mingw') + if: false permissions: contents: write needs: [linux, linux-cross-aarch64, macos, linux-cross-windows, test-toolchain, linux-test-cross-build-ffmpeg, test-ffmpeg]