|
65 | 65 | retention-days: 7 |
66 | 66 |
|
67 | 67 | linux-stage1: |
68 | | - if: (github.event_name != 'schedule') || (github.repository == 'mstorsjo/llvm-mingw') |
69 | 68 | needs: [prepare] |
70 | 69 | runs-on: ubuntu-22.04 |
71 | 70 | steps: |
|
98 | 97 | retention-days: 7 |
99 | 98 |
|
100 | 99 | linux-profile: |
101 | | - if: (github.event_name != 'schedule') || (github.repository == 'mstorsjo/llvm-mingw') |
102 | 100 | needs: [prepare, linux-stage1] |
103 | 101 | runs-on: ubuntu-22.04 |
104 | 102 | steps: |
@@ -130,7 +128,6 @@ jobs: |
130 | 128 |
|
131 | 129 | # Build a cross compiler for Linux, targeting Windows. |
132 | 130 | linux: |
133 | | - if: (github.event_name != 'schedule') || (github.repository == 'mstorsjo/llvm-mingw') |
134 | 131 | needs: [prepare, linux-stage1, linux-profile] |
135 | 132 | runs-on: ubuntu-22.04 |
136 | 133 | steps: |
@@ -175,7 +172,6 @@ jobs: |
175 | 172 | # Crosscompile the toolchain for running on Linux on a different architecture, bundle the runtime |
176 | 173 | # libraries that were built in the 'linux-stage1' step above. |
177 | 174 | linux-cross-aarch64: |
178 | | - if: (github.event_name != 'schedule') || (github.repository == 'mstorsjo/llvm-mingw') |
179 | 175 | needs: [linux-stage1, linux-profile, prepare] |
180 | 176 | runs-on: ubuntu-22.04 |
181 | 177 | steps: |
@@ -233,7 +229,7 @@ jobs: |
233 | 229 | # to better catch such bugs early. This makes the first-stage toolchain built |
234 | 230 | # here in scheduled builds somewhat slower. |
235 | 231 | linux-asserts: |
236 | | - if: (github.event_name == 'schedule') && (github.repository == 'mstorsjo/llvm-mingw') |
| 232 | + if: github.event_name == 'schedule' |
237 | 233 | needs: [prepare] |
238 | 234 | runs-on: ubuntu-latest |
239 | 235 | steps: |
@@ -261,7 +257,6 @@ jobs: |
261 | 257 | retention-days: 7 |
262 | 258 |
|
263 | 259 | macos-stage1: |
264 | | - if: (github.event_name != 'schedule') || (github.repository == 'mstorsjo/llvm-mingw') |
265 | 260 | needs: [prepare] |
266 | 261 | runs-on: macos-latest |
267 | 262 | steps: |
@@ -291,7 +286,6 @@ jobs: |
291 | 286 |
|
292 | 287 | # Build a cross compiler for macOS, targeting Windows. |
293 | 288 | macos: |
294 | | - if: (github.event_name != 'schedule') || (github.repository == 'mstorsjo/llvm-mingw') |
295 | 289 | needs: [prepare, macos-stage1, linux-profile] |
296 | 290 | runs-on: macos-latest |
297 | 291 | steps: |
@@ -339,7 +333,6 @@ jobs: |
339 | 333 | # environments). The binaries built here rely on the runtime libraries from |
340 | 334 | # the host environment (libstdc++ or libc++). |
341 | 335 | msys2: |
342 | | - if: (github.event_name != 'schedule') || (github.repository == 'mstorsjo/llvm-mingw') |
343 | 336 | needs: [prepare] |
344 | 337 | runs-on: windows-latest |
345 | 338 | defaults: |
@@ -396,7 +389,6 @@ jobs: |
396 | 389 | # llvm and make a proper standalone toolchain for Windows (for all 4 |
397 | 390 | # architectures). The binaries built here match actual releases quite closely. |
398 | 391 | linux-cross-windows: |
399 | | - if: (github.event_name != 'schedule') || (github.repository == 'mstorsjo/llvm-mingw') |
400 | 392 | needs: [linux-stage1, linux-profile, prepare] |
401 | 393 | runs-on: ubuntu-latest |
402 | 394 | strategy: |
@@ -446,7 +438,6 @@ jobs: |
446 | 438 |
|
447 | 439 | # Run llvm-mingw's tests with the cross-built toolchains from above. |
448 | 440 | test-toolchain: |
449 | | - if: (github.event_name != 'schedule') || (github.repository == 'mstorsjo/llvm-mingw') |
450 | 441 | needs: [linux-cross-windows] |
451 | 442 | defaults: |
452 | 443 | run: |
@@ -557,7 +548,7 @@ jobs: |
557 | 548 | # This also forces testing the bundled python executables. |
558 | 549 | test-openmp: |
559 | 550 | # Only running these tests in scheduled builds. |
560 | | - if: (github.event_name == 'schedule') && (github.repository == 'mstorsjo/llvm-mingw') |
| 551 | + if: github.event_name == 'schedule' |
561 | 552 | needs: [linux-cross-windows, prepare] |
562 | 553 | strategy: |
563 | 554 | fail-fast: false |
@@ -624,7 +615,7 @@ jobs: |
624 | 615 | # also forces testing the bundled python executables. |
625 | 616 | test-compiler-rt: |
626 | 617 | # Only running these tests in scheduled builds. |
627 | | - if: (github.event_name == 'schedule') && (github.repository == 'mstorsjo/llvm-mingw') |
| 618 | + if: github.event_name == 'schedule' |
628 | 619 | needs: [linux-cross-windows, prepare] |
629 | 620 | strategy: |
630 | 621 | fail-fast: false |
@@ -705,7 +696,7 @@ jobs: |
705 | 696 | # enabled, to catch code generation bugs that might trigger asserts, to |
706 | 697 | # find such regressions early. |
707 | 698 | linux-test-cross-build-ffmpeg: |
708 | | - if: (github.event_name == 'schedule') && (github.repository == 'mstorsjo/llvm-mingw') |
| 699 | + if: github.event_name == 'schedule' |
709 | 700 | needs: [linux-asserts] |
710 | 701 | runs-on: ubuntu-latest |
711 | 702 | strategy: |
@@ -750,7 +741,7 @@ jobs: |
750 | 741 | # compiler itself, but that only show up at runtime. This is only done |
751 | 742 | # for scheduled builds. |
752 | 743 | test-ffmpeg: |
753 | | - if: (github.event_name == 'schedule') && (github.repository == 'mstorsjo/llvm-mingw') |
| 744 | + if: github.event_name == 'schedule' |
754 | 745 | needs: [linux-cross-windows] |
755 | 746 | runs-on: windows-latest |
756 | 747 | defaults: |
@@ -797,7 +788,7 @@ jobs: |
797 | 788 | make -j$(nproc) fate |
798 | 789 |
|
799 | 790 | upload-nightly: |
800 | | - if: (github.event_name == 'schedule') && (github.repository == 'mstorsjo/llvm-mingw') |
| 791 | + if: github.event_name == 'schedule' |
801 | 792 | permissions: |
802 | 793 | contents: write |
803 | 794 | needs: [linux, linux-cross-aarch64, macos, linux-cross-windows, test-toolchain, linux-test-cross-build-ffmpeg, test-ffmpeg] |
|
0 commit comments