Skip to content

Commit

Permalink
WIP: github: Skip everything except for the linux and linux-cross-aar…
Browse files Browse the repository at this point in the history
…ch64 jobs
  • Loading branch information
mstorsjo committed Aug 5, 2024
1 parent e7de34f commit 06c0fd6
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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]
Expand Down

0 comments on commit 06c0fd6

Please sign in to comment.