From 2a3c494b1b22ee599c70dbf7aa55c1011d42b9b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Storsj=C3=B6?= Date: Wed, 31 Jan 2024 10:36:26 +0200 Subject: [PATCH] WIP: github: Skip all jobs except for the macos ones --- .github/workflows/build.yml | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f22c0083..f5f20da2 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -66,7 +66,7 @@ jobs: # Build a cross compiler for Linux, targeting Windows. linux: - if: (github.event_name != 'schedule') || (github.repository == 'mstorsjo/llvm-mingw') + if: false needs: [prepare] runs-on: ubuntu-20.04 steps: @@ -101,7 +101,7 @@ jobs: # Crosscompile the toolchain for running on Linux on a different architecture, bundle the runtime # libraries that were built in the 'linux' step above. linux-cross-aarch64: - if: (github.event_name != 'schedule') || (github.repository == 'mstorsjo/llvm-mingw') + if: false needs: [linux, prepare] runs-on: ubuntu-20.04 steps: @@ -155,7 +155,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: @@ -223,7 +223,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: @@ -279,7 +279,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: @@ -327,7 +327,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: @@ -432,7 +432,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: @@ -496,7 +496,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: @@ -574,7 +574,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: @@ -619,7 +619,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: @@ -666,7 +666,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]