File tree Expand file tree Collapse file tree 1 file changed +18
-1
lines changed
Expand file tree Collapse file tree 1 file changed +18
-1
lines changed Original file line number Diff line number Diff line change 1+ # TODO: test more stuff on Windows.
2+
13name : CI
24
35on :
1315
1416jobs :
1517 build :
16- runs-on : ubuntu-24.04
18+ runs-on : ${{ matrix.os }}
19+
20+ strategy :
21+ matrix :
22+ os :
23+ - ubuntu-24.04
24+ - windows-2025
25+
1726 steps :
1827 - uses : actions/checkout@v3
1928 - uses : actions-rs/toolchain@v1
2433 components : clippy
2534
2635 - name : Download and install GCC fork
36+ if : ${{ matrix.os == 'ubuntu-24.04' }}
2737 run : |
2838 curl -LO https://github.com/antoyo/gcc/releases/latest/download/gcc-15.deb
2939 sudo dpkg --force-overwrite -i gcc-15.deb
@@ -51,17 +61,24 @@ jobs:
5161 key : ${{ runner.os }}-cargo-build-target-${{ hashFiles('rust-toolchain') }}
5262
5363 - name : Build
64+ if : ${{ matrix.os == 'ubuntu-24.04' }}
5465 run : |
5566 cargo build
5667 cargo build --features master,dlopen
5768 cargo build --examples
5869
70+ - name : Build
71+ if : ${{ matrix.os == 'windows-2025' }}
72+ run : cargo build --features master,dlopen
73+
5974 - name : Test
75+ if : ${{ matrix.os == 'ubuntu-24.04' }}
6076 run : |
6177 cd examples/factorial
6278 cargo build
6379
6480 - name : clippy
81+ if : ${{ matrix.os == 'ubuntu-24.04' }}
6582 run : |
6683 cargo clippy --all-targets -- -D warnings
6784 cargo clippy --all-targets --features master,dlopen -- -D warnings
You can’t perform that action at this time.
0 commit comments