Don't run tests in release workflow (#1080)
This commit is contained in:
parent
b95e32c9be
commit
57db9fe04d
@ -1,4 +1,4 @@
|
|||||||
name: Test
|
name: CI
|
||||||
|
|
||||||
on:
|
on:
|
||||||
pull_request:
|
pull_request:
|
9
.github/workflows/release.yaml
vendored
9
.github/workflows/release.yaml
vendored
@ -24,23 +24,18 @@ jobs:
|
|||||||
include:
|
include:
|
||||||
- target: aarch64-unknown-linux-musl
|
- target: aarch64-unknown-linux-musl
|
||||||
os: ubuntu-latest
|
os: ubuntu-latest
|
||||||
native: false
|
|
||||||
target_rustflags: '--codegen linker=aarch64-linux-gnu-gcc'
|
target_rustflags: '--codegen linker=aarch64-linux-gnu-gcc'
|
||||||
- target: armv7-unknown-linux-musleabihf
|
- target: armv7-unknown-linux-musleabihf
|
||||||
os: ubuntu-latest
|
os: ubuntu-latest
|
||||||
native: false
|
|
||||||
target_rustflags: '--codegen linker=arm-linux-gnueabihf-gcc'
|
target_rustflags: '--codegen linker=arm-linux-gnueabihf-gcc'
|
||||||
- target: x86_64-apple-darwin
|
- target: x86_64-apple-darwin
|
||||||
os: macos-latest
|
os: macos-latest
|
||||||
native: true
|
|
||||||
target_rustflags: ''
|
target_rustflags: ''
|
||||||
- target: x86_64-pc-windows-msvc
|
- target: x86_64-pc-windows-msvc
|
||||||
os: windows-2016
|
os: windows-2016
|
||||||
native: true
|
|
||||||
target_rustflags: ''
|
target_rustflags: ''
|
||||||
- target: x86_64-unknown-linux-musl
|
- target: x86_64-unknown-linux-musl
|
||||||
os: ubuntu-latest
|
os: ubuntu-latest
|
||||||
native: true
|
|
||||||
target_rustflags: ''
|
target_rustflags: ''
|
||||||
|
|
||||||
runs-on: ${{matrix.os}}
|
runs-on: ${{matrix.os}}
|
||||||
@ -67,10 +62,6 @@ jobs:
|
|||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
sudo apt-get install gcc-arm-linux-gnueabihf
|
sudo apt-get install gcc-arm-linux-gnueabihf
|
||||||
|
|
||||||
- name: Test
|
|
||||||
if: matrix.native
|
|
||||||
run: cargo test --all --target ${{ matrix.target }}
|
|
||||||
|
|
||||||
- name: Ref Type
|
- name: Ref Type
|
||||||
id: ref-type
|
id: ref-type
|
||||||
run: cargo run --package ref-type -- --reference ${{ github.ref }}
|
run: cargo run --package ref-type -- --reference ${{ github.ref }}
|
||||||
|
Loading…
Reference in New Issue
Block a user