|
19 | 19 | # slightly more, when we know a separate build of the same version but with
|
20 | 20 | # assertions enabled, has passed some amount of tests.
|
21 | 21 | prepare:
|
22 |
| - if: (github.event_name != 'schedule') || (github.repository == 'mstorsjo/llvm-mingw') |
| 22 | + if: (github.event_name != 'schedule') || (github.repository == 'bylaws/llvm-mingw') |
23 | 23 | runs-on: ubuntu-latest
|
24 | 24 | outputs:
|
25 | 25 | LLVM_VERSION: ${{steps.get-versions.outputs.LLVM_VERSION}}
|
|
52 | 52 | if: github.event_name == 'schedule'
|
53 | 53 | id: get-versions
|
54 | 54 | run: |
|
55 |
| - echo LLVM_VERSION=$(git ls-remote https://github.com/llvm/llvm-project.git | grep 'refs/heads/main$' | awk '{print $1}') >> $GITHUB_OUTPUT |
56 |
| - echo MINGW_W64_VERSION=$(git ls-remote https://github.com/mingw-w64/mingw-w64.git | grep 'refs/heads/master$' | awk '{print $1}') >> $GITHUB_OUTPUT |
| 55 | + echo LLVM_VERSION=$(git ls-remote https://github.com/bylaws/llvm-project.git | grep 'refs/heads/arm64ec$' | awk '{print $1}') >> $GITHUB_OUTPUT |
| 56 | + echo MINGW_W64_VERSION=$(git ls-remote https://github.com/bylaws/mingw-w64.git | grep 'refs/heads/arm64ec$' | awk '{print $1}') >> $GITHUB_OUTPUT |
57 | 57 | echo PYTHON_VERSION_MINGW=$(git ls-remote https://github.com/msys2-contrib/cpython-mingw.git | grep 'refs/heads/mingw-v3.11.6$' | awk '{print $1}') >> $GITHUB_OUTPUT
|
58 | 58 | cat $GITHUB_OUTPUT
|
59 | 59 | cat $GITHUB_OUTPUT >> parameters.txt
|
|
66 | 66 |
|
67 | 67 | # Build a cross compiler for Linux, targeting Windows.
|
68 | 68 | linux:
|
69 |
| - if: (github.event_name != 'schedule') || (github.repository == 'mstorsjo/llvm-mingw') |
| 69 | + if: (github.event_name != 'schedule') || (github.repository == 'bylaws/llvm-mingw') |
70 | 70 | needs: [prepare]
|
71 | 71 | runs-on: ubuntu-20.04
|
72 | 72 | steps:
|
@@ -102,7 +102,7 @@ jobs:
|
102 | 102 | # Crosscompile the toolchain for running on Linux on a different architecture, bundle the runtime
|
103 | 103 | # libraries that were built in the 'linux' step above.
|
104 | 104 | linux-cross-aarch64:
|
105 |
| - if: (github.event_name != 'schedule') || (github.repository == 'mstorsjo/llvm-mingw') |
| 105 | + if: (github.event_name != 'schedule') || (github.repository == 'bylaws/llvm-mingw') |
106 | 106 | needs: [linux, prepare]
|
107 | 107 | runs-on: ubuntu-20.04
|
108 | 108 | steps:
|
@@ -157,7 +157,7 @@ jobs:
|
157 | 157 | # to better catch such bugs early. This makes the first-stage toolchain built
|
158 | 158 | # here in scheduled builds somewhat slower.
|
159 | 159 | linux-asserts:
|
160 |
| - if: (github.event_name == 'schedule') && (github.repository == 'mstorsjo/llvm-mingw') |
| 160 | + if: (github.event_name == 'schedule') && (github.repository == 'bylaws/llvm-mingw') |
161 | 161 | needs: [prepare]
|
162 | 162 | runs-on: ubuntu-latest
|
163 | 163 | steps:
|
@@ -187,7 +187,7 @@ jobs:
|
187 | 187 |
|
188 | 188 | # Build a cross compiler for macOS, targeting Windows.
|
189 | 189 | macos:
|
190 |
| - if: (github.event_name != 'schedule') || (github.repository == 'mstorsjo/llvm-mingw') |
| 190 | + if: false |
191 | 191 | needs: [prepare]
|
192 | 192 | runs-on: macos-14
|
193 | 193 | steps:
|
@@ -226,7 +226,7 @@ jobs:
|
226 | 226 | # the host environment (libstdc++ or libc++). No artifacts are stored from
|
227 | 227 | # these builds, but llvm-mingw's tests are run.
|
228 | 228 | msys2:
|
229 |
| - if: (github.event_name != 'schedule') || (github.repository == 'mstorsjo/llvm-mingw') |
| 229 | + if: false |
230 | 230 | needs: [prepare]
|
231 | 231 | runs-on: windows-latest
|
232 | 232 | defaults:
|
@@ -283,7 +283,7 @@ jobs:
|
283 | 283 | # llvm and make a proper standalone toolchain for Windows (for all 4
|
284 | 284 | # architectures). The binaries built here match actual releases quite closely.
|
285 | 285 | linux-cross-windows:
|
286 |
| - if: (github.event_name != 'schedule') || (github.repository == 'mstorsjo/llvm-mingw') |
| 286 | + if: (github.event_name != 'schedule') || (github.repository == 'bylaws/llvm-mingw') |
287 | 287 | needs: [linux, prepare]
|
288 | 288 | runs-on: ubuntu-latest
|
289 | 289 | strategy:
|
@@ -331,7 +331,7 @@ jobs:
|
331 | 331 | # Run llvm-mingw's tests on x86_64 and i686 with the cross-built corresponding
|
332 | 332 | # toolchains from above.
|
333 | 333 | test-toolchain:
|
334 |
| - if: (github.event_name != 'schedule') || (github.repository == 'mstorsjo/llvm-mingw') |
| 334 | + if: (github.event_name != 'schedule') || (github.repository == 'bylaws/llvm-mingw') |
335 | 335 | needs: [linux-cross-windows]
|
336 | 336 | runs-on: windows-latest
|
337 | 337 | defaults:
|
@@ -437,7 +437,7 @@ jobs:
|
437 | 437 | # This also forces testing the bundled python executables.
|
438 | 438 | test-openmp:
|
439 | 439 | # Only running these tests in scheduled builds.
|
440 |
| - if: (github.event_name == 'schedule') && (github.repository == 'mstorsjo/llvm-mingw') |
| 440 | + if: (github.event_name == 'schedule') && (github.repository == 'bylaws/llvm-mingw') |
441 | 441 | needs: [linux-cross-windows, prepare]
|
442 | 442 | runs-on: windows-latest
|
443 | 443 | strategy:
|
@@ -501,7 +501,7 @@ jobs:
|
501 | 501 | # above. This also forces testing the bundled python executables.
|
502 | 502 | test-compiler-rt:
|
503 | 503 | # Only running these tests in scheduled builds.
|
504 |
| - if: (github.event_name == 'schedule') && (github.repository == 'mstorsjo/llvm-mingw') |
| 504 | + if: (github.event_name == 'schedule') && (github.repository == 'bylaws/llvm-mingw') |
505 | 505 | needs: [linux-cross-windows, prepare]
|
506 | 506 | runs-on: windows-latest
|
507 | 507 | strategy:
|
@@ -579,7 +579,7 @@ jobs:
|
579 | 579 | # enabled, to catch code generation bugs that might trigger asserts, to
|
580 | 580 | # find such regressions early.
|
581 | 581 | linux-test-cross-build-ffmpeg:
|
582 |
| - if: (github.event_name == 'schedule') && (github.repository == 'mstorsjo/llvm-mingw') |
| 582 | + if: (github.event_name == 'schedule') && (github.repository == 'bylaws/llvm-mingw') |
583 | 583 | needs: [linux-asserts]
|
584 | 584 | runs-on: ubuntu-latest
|
585 | 585 | strategy:
|
@@ -624,7 +624,7 @@ jobs:
|
624 | 624 | # compiler itself, but that only show up at runtime. This is only done
|
625 | 625 | # for scheduled builds.
|
626 | 626 | test-ffmpeg:
|
627 |
| - if: (github.event_name == 'schedule') && (github.repository == 'mstorsjo/llvm-mingw') |
| 627 | + if: (github.event_name == 'schedule') && (github.repository == 'bylaws/llvm-mingw') |
628 | 628 | needs: [linux-cross-windows]
|
629 | 629 | runs-on: windows-latest
|
630 | 630 | defaults:
|
@@ -671,18 +671,17 @@ jobs:
|
671 | 671 | make -j$(nproc) fate
|
672 | 672 |
|
673 | 673 | upload-nightly:
|
674 |
| - if: (github.event_name == 'schedule') && (github.repository == 'mstorsjo/llvm-mingw') |
| 674 | + if: (github.repository == 'bylaws/llvm-mingw') |
675 | 675 | permissions:
|
676 | 676 | contents: write
|
677 |
| - needs: [linux, linux-cross-aarch64, macos, linux-cross-windows, test-toolchain, linux-test-cross-build-ffmpeg, test-ffmpeg] |
| 677 | + needs: [linux, linux-cross-aarch64, linux-cross-windows] |
678 | 678 | runs-on: ubuntu-latest
|
679 | 679 | steps:
|
680 | 680 | - name: Download all artifacts
|
681 | 681 | uses: actions/download-artifact@v4
|
682 | 682 | - name: Rearrange files
|
683 | 683 | run: |
|
684 | 684 | rm -rf linux-asserts*
|
685 |
| - rm -rf msys2* |
686 | 685 | mv *-toolchain/*.zip *-toolchain/*.tar.xz .
|
687 | 686 | - name: Upload binaries
|
688 | 687 | env:
|
|
0 commit comments