Skip to content

Commit 40604cd

Browse files
committed
WIP: github: Test building only make
1 parent 259cd18 commit 40604cd

File tree

1 file changed

+7
-13
lines changed

1 file changed

+7
-13
lines changed

.github/workflows/build.yml

Lines changed: 7 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
# slightly more, when we know a separate build of the same version but with
2020
# assertions enabled, has passed some amount of tests.
2121
prepare:
22-
if: (github.event_name != 'schedule') || (github.repository == 'mstorsjo/llvm-mingw')
22+
if: false
2323
runs-on: ubuntu-latest
2424
outputs:
2525
LLVM_VERSION: ${{steps.get-versions.outputs.LLVM_VERSION}}
@@ -387,7 +387,6 @@ jobs:
387387
# llvm and make a proper standalone toolchain for Windows (for all 4
388388
# architectures). The binaries built here match actual releases quite closely.
389389
linux-cross-windows:
390-
needs: [linux-stage1, linux-profile, prepare]
391390
runs-on: ubuntu-latest
392391
strategy:
393392
fail-fast: false
@@ -398,30 +397,24 @@ jobs:
398397
- { arch: armv7, crt: ucrt }
399398
- { arch: aarch64, crt: ucrt }
400399
steps:
401-
- uses: actions/download-artifact@v4
402-
with:
403-
name: linux-stage1-${{matrix.crt}}-x86_64-toolchain
404400
- name: Unpack cross toolchain
405401
run: |
402+
curl -LO https://github.com/mstorsjo/llvm-mingw/releases/download/20251118/llvm-mingw-20251118-ucrt-ubuntu-22.04-x86_64.tar.xz
406403
tar -Jxf llvm-mingw-*.tar.xz
407404
rm llvm-mingw-*.tar.xz
408405
sudo mv llvm-mingw* /opt/llvm-mingw
409406
echo /opt/llvm-mingw/bin >> $GITHUB_PATH
410407
- uses: actions/checkout@v4
411-
- uses: actions/download-artifact@v4
412-
with:
413-
name: profile
414408
- name: Build
415409
env:
416410
LLVM_VERSION: ${{needs.prepare.outputs.LLVM_VERSION}}
417411
MINGW_W64_VERSION: ${{needs.prepare.outputs.MINGW_W64_VERSION}}
418412
PYTHON_VERSION_MINGW: ${{needs.prepare.outputs.PYTHON_VERSION_MINGW}}
419413
TAG: ${{needs.prepare.outputs.TAG}}
420-
SOURCE_DATE_EPOCH: ${{needs.prepare.outputs.COMMIT_DATE_UNIX}}
421414
BUILD_DATE: ${{needs.prepare.outputs.BUILD_DATE}}
422415
run: |
423416
sudo apt-get update && sudo apt-get install libltdl-dev swig autoconf-archive
424-
./build-cross-tools.sh /opt/llvm-mingw $(pwd)/install/llvm-mingw ${{matrix.arch}} --with-python --thinlto --pgo
417+
./build-make.sh $(pwd)/install/llvm-mingw --host=${{matrix.arch}}-w64-mingw32
425418
.github/workflows/store-version.sh install/llvm-mingw/versions.txt
426419
cd install
427420
NAME=llvm-mingw-$TAG-${{matrix.crt}}-${{matrix.arch}}
@@ -436,6 +429,7 @@ jobs:
436429

437430
# Run llvm-mingw's tests with the cross-built toolchains from above.
438431
test-toolchain:
432+
if: false
439433
needs: [linux-cross-windows]
440434
defaults:
441435
run:
@@ -541,7 +535,7 @@ jobs:
541535
# This also forces testing the bundled python executables.
542536
test-openmp:
543537
# Only running these tests in scheduled builds.
544-
if: github.event_name == 'schedule'
538+
if: false
545539
needs: [linux-cross-windows, prepare]
546540
strategy:
547541
fail-fast: false
@@ -604,7 +598,7 @@ jobs:
604598
# also forces testing the bundled python executables.
605599
test-compiler-rt:
606600
# Only running these tests in scheduled builds.
607-
if: github.event_name == 'schedule'
601+
if: false
608602
needs: [linux-cross-windows, prepare]
609603
strategy:
610604
fail-fast: false
@@ -726,7 +720,7 @@ jobs:
726720
# compiler itself, but that only show up at runtime. This is only done
727721
# for scheduled builds.
728722
test-ffmpeg:
729-
if: github.event_name == 'schedule'
723+
if: false
730724
needs: [linux-cross-windows]
731725
runs-on: windows-latest
732726
defaults:

0 commit comments

Comments
 (0)