File tree Expand file tree Collapse file tree 6 files changed +10
-68
lines changed Expand file tree Collapse file tree 6 files changed +10
-68
lines changed Original file line number Diff line number Diff line change @@ -6,3 +6,6 @@ linker = "rust-lld"
66
77[target .i686-pc-windows-msvc ]
88linker = " rust-lld"
9+
10+ [alias ]
11+ ci-test = " hack test --workspace --feature-powerset --clean-per-run"
Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 9191 - os : windows-latest
9292 rust : stable
9393 # setup-php doesn't support thread safe PHP on Linux and macOS.
94- - os : macos-latest
95- phpts : ts
96- - os : ubuntu-latest
97- phpts : ts
9894 - os : macos-latest
9995 clang : " 17"
10096 - os : ubuntu-latest
@@ -152,29 +148,12 @@ jobs:
152148 echo "LIBCLANG_PATH=${{ runner.temp }}/llvm-${{ matrix.clang }}/lib" >> $GITHUB_ENV
153149 echo "LLVM_VERSION=${{ steps.clang.outputs.version }}" >> $GITHUB_ENV
154150 echo "LLVM_CONFIG_PATH=${{ runner.temp }}/llvm-${{ matrix.clang }}/bin/llvm-config" >> $GITHUB_ENV
155- # Build
156- - name : Build
151+ - name : Install cargo-hack
152+ uses : taiki-e/install-action@v2
153+ with :
154+ tool : cargo-hack
155+ # Test
156+ - name : Test features matrix
157157 env :
158158 EXT_PHP_RS_TEST : " "
159- run : cargo build --release --features closure,anyhow --all
160- # Test
161- - name : Test inline examples
162- # Macos fails on unstable rust. We skip the inline examples test for now.
163- if : " !(contains(matrix.os, 'macos') && matrix.rust == 'nightly')"
164- run : cargo test --release --all --features closure,anyhow --no-fail-fast
165- build-zts :
166- name : Build with ZTS
167- runs-on : ubuntu-latest
168- steps :
169- - name : Checkout code
170- uses : actions/checkout@v4
171- - name : Build
172- uses : ./.github/actions/zts
173- test-embed :
174- name : Test with embed
175- runs-on : ubuntu-latest
176- steps :
177- - name : Checkout code
178- uses : actions/checkout@v4
179- - name : Test
180- uses : ./.github/actions/embed
159+ run : cargo ci-test
You can’t perform that action at this time.
0 commit comments