Skip to content

Commit 51f9309

Browse files
authored
Use MSYS2 to build LLVMExtra on Windows. (#333)
1 parent 8daa329 commit 51f9309

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

.github/workflows/ci.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,23 @@ jobs:
3434
${{ runner.os }}-test-
3535
${{ runner.os }}-
3636
- uses: julia-actions/julia-buildpkg@v1
37+
3738
- name: Build libLLVMExtra
3839
run: julia --project=deps deps/build_ci.jl
40+
if: runner.os != 'Windows'
41+
42+
# we really don't want to use MSVC
43+
- name: Install MSYS2
44+
uses: msys2/setup-msys2@v2
45+
with:
46+
path-type: inherit
47+
install: mingw-w64-x86_64-gcc
48+
if: runner.os == 'Windows'
49+
- name: Build libLLVMExtra (in msys2)
50+
shell: msys2 {0}
51+
run: julia --project=deps deps/build_ci.jl
52+
if: runner.os == 'Windows'
53+
3954
- name: Run tests
4055
run: julia --project -e 'using Pkg; Pkg.test(; coverage=true, julia_args=`-g2`)'
4156
- uses: julia-actions/julia-processcoverage@v1

0 commit comments

Comments
 (0)