mirror of
https://github.com/ouch-org/ouch.git
synced 2025-06-07 12:05:46 +00:00
Skip running tests on ARM64 Windows
This commit is contained in:
parent
e385f5f367
commit
fdaaf9a3ec
10
.github/workflows/build-and-test.yml
vendored
10
.github/workflows/build-and-test.yml
vendored
@ -18,16 +18,18 @@ jobs:
|
|||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
target:
|
target:
|
||||||
|
# native
|
||||||
- x86_64-unknown-linux-gnu
|
- x86_64-unknown-linux-gnu
|
||||||
- x86_64-unknown-linux-musl
|
- x86_64-unknown-linux-musl
|
||||||
- x86_64-pc-windows-gnu
|
- x86_64-pc-windows-gnu
|
||||||
- x86_64-pc-windows-msvc
|
- x86_64-pc-windows-msvc
|
||||||
|
- aarch64-pc-windows-msvc
|
||||||
- x86_64-apple-darwin
|
- x86_64-apple-darwin
|
||||||
|
# cross
|
||||||
- aarch64-unknown-linux-gnu
|
- aarch64-unknown-linux-gnu
|
||||||
- aarch64-unknown-linux-musl
|
- aarch64-unknown-linux-musl
|
||||||
- armv7-unknown-linux-gnueabihf
|
- armv7-unknown-linux-gnueabihf
|
||||||
- armv7-unknown-linux-musleabihf
|
- armv7-unknown-linux-musleabihf
|
||||||
- aarch64-pc-windows-msvc
|
|
||||||
feature-use-zlib: [true, false]
|
feature-use-zlib: [true, false]
|
||||||
feature-use-zstd-thin: [true, false]
|
feature-use-zstd-thin: [true, false]
|
||||||
|
|
||||||
@ -39,6 +41,8 @@ jobs:
|
|||||||
os: windows-latest
|
os: windows-latest
|
||||||
- target: x86_64-pc-windows-msvc
|
- target: x86_64-pc-windows-msvc
|
||||||
os: windows-latest
|
os: windows-latest
|
||||||
|
- target: aarch64-pc-windows-msvc
|
||||||
|
os: windows-latest
|
||||||
- target: x86_64-apple-darwin
|
- target: x86_64-apple-darwin
|
||||||
os: macos-latest
|
os: macos-latest
|
||||||
# targets that require cross
|
# targets that require cross
|
||||||
@ -50,8 +54,6 @@ jobs:
|
|||||||
use-cross: true
|
use-cross: true
|
||||||
- target: armv7-unknown-linux-musleabihf
|
- target: armv7-unknown-linux-musleabihf
|
||||||
use-cross: true
|
use-cross: true
|
||||||
- target: aarch64-pc-windows-msvc
|
|
||||||
use-cross: true
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
@ -91,6 +93,8 @@ jobs:
|
|||||||
rustup toolchain install stable nightly --profile minimal -t ${{ matrix.target }}
|
rustup toolchain install stable nightly --profile minimal -t ${{ matrix.target }}
|
||||||
|
|
||||||
- name: Test on stable
|
- name: Test on stable
|
||||||
|
# there's no way to run tests for ARM64 Windows for now
|
||||||
|
if: matrix.target != 'aarch64-pc-windows-msvc'
|
||||||
run: |
|
run: |
|
||||||
${{ env.CARGO }} +stable test --target ${{ matrix.target }} $EXTRA_CARGO_FLAGS
|
${{ env.CARGO }} +stable test --target ${{ matrix.target }} $EXTRA_CARGO_FLAGS
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user