Skip to content

Commit

Permalink
WIP: github: Skip all jobs except for the macos ones
Browse files Browse the repository at this point in the history
  • Loading branch information
mstorsjo committed Apr 21, 2024
1 parent 6c47958 commit 2a3c494
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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]
Expand Down

0 comments on commit 2a3c494

Please sign in to comment.