mirror of
https://github.com/bdwgc/bdwgc-rust.git
synced 2026-09-26 20:23:42 -06:00
Bundle unit tests into a matrix
This commit is contained in:
@@ -28,13 +28,16 @@ jobs:
|
|||||||
- ubuntu-latest
|
- ubuntu-latest
|
||||||
- ubuntu-26.04-arm
|
- ubuntu-26.04-arm
|
||||||
- macos-latest
|
- macos-latest
|
||||||
|
options:
|
||||||
|
-
|
||||||
|
- --no-default-features --features cmake
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||||
with:
|
with:
|
||||||
submodules: true
|
submodules: true
|
||||||
- uses: ./.github/actions/setup
|
- uses: ./.github/actions/setup
|
||||||
- run: cargo test
|
- run: cargo test ${{ matrix.options }}
|
||||||
examples:
|
examples:
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
@@ -50,37 +53,11 @@ jobs:
|
|||||||
submodules: true
|
submodules: true
|
||||||
- uses: ./.github/actions/setup
|
- uses: ./.github/actions/setup
|
||||||
- run: tools/example_test.sh
|
- run: tools/example_test.sh
|
||||||
cmake:
|
|
||||||
strategy:
|
|
||||||
fail-fast: false
|
|
||||||
matrix:
|
|
||||||
os:
|
|
||||||
- ubuntu-latest
|
|
||||||
- ubuntu-26.04-arm
|
|
||||||
- macos-latest
|
|
||||||
runs-on: ${{ matrix.os }}
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
||||||
with:
|
|
||||||
submodules: true
|
|
||||||
- uses: ./.github/actions/setup
|
|
||||||
- run: cargo build --no-default-features --features cmake
|
|
||||||
test:
|
test:
|
||||||
needs:
|
needs:
|
||||||
- build
|
- build
|
||||||
- unit_test
|
- unit_test
|
||||||
- examples
|
- examples
|
||||||
- cmake
|
|
||||||
if: always()
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- run: for result in ${{ join(needs.*.result, ' ') }}; do [ $result = success ]; done
|
|
||||||
test:
|
|
||||||
needs:
|
|
||||||
- build
|
|
||||||
- autotools
|
|
||||||
- cmake
|
|
||||||
- examples
|
|
||||||
if: always()
|
if: always()
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
|||||||
@@ -10,6 +10,7 @@
|
|||||||
"dealloc",
|
"dealloc",
|
||||||
"finalizer",
|
"finalizer",
|
||||||
"gcollect",
|
"gcollect",
|
||||||
|
"gitsubmodule",
|
||||||
"libatomic",
|
"libatomic",
|
||||||
"libc",
|
"libc",
|
||||||
"libclang",
|
"libclang",
|
||||||
|
|||||||
Reference in New Issue
Block a user