File tree Expand file tree Collapse file tree 2 files changed +1
-46
lines changed Expand file tree Collapse file tree 2 files changed +1
-46
lines changed Original file line number Diff line number Diff line change 63
63
- name : cargo test
64
64
run : cargo test --locked --workspace --all-features --bins --tests --examples
65
65
66
- test-release :
67
- runs-on : ${{ matrix.target.os }}
68
- strategy :
69
- fail-fast : false
70
- matrix :
71
- target :
72
- - os : " ubuntu-latest"
73
- toolchain : " x86_64-unknown-linux-gnu"
74
- name : " Linux GNU"
75
- - os : " macOS-latest"
76
- toolchain : " x86_64-apple-darwin"
77
- name : " macOS"
78
- - os : " windows-latest"
79
- toolchain : " x86_64-pc-windows-msvc"
80
- name : " Windows MSVC"
81
- - os : " windows-latest"
82
- toolchain : " x86_64-pc-windows-gnu"
83
- name : " Windows GNU"
84
- channel :
85
- - " stable"
86
- - " beta"
87
- - " nightly"
88
- steps :
89
- - uses : actions/checkout@v2
90
- - uses : dtolnay/rust-toolchain@master
91
- with :
92
- toolchain : ${{ matrix.channel }}
93
- targets : ${{ matrix.target.toolchain }}
94
- - uses : swatinem/rust-cache@v2
95
- - name : cargo test
96
- run : cargo test --release --locked --workspace --all-features --bins --tests --examples
97
-
98
66
# Checks correct runtime deps and features are requested by not including dev-dependencies.
99
67
check-deps :
100
68
runs-on : ubuntu-latest
@@ -104,16 +72,3 @@ jobs:
104
72
- uses : swatinem/rust-cache@v2
105
73
- name : cargo check
106
74
run : cargo check --workspace --all-features --bins
107
-
108
- # Minimal crates needs adding proc-macro 1.0.66 as a dev dependency.
109
- # Since it is not necessary for a bin project, disabled.
110
- # minimal-crates:
111
- # runs-on: ubuntu-latest
112
- # steps:
113
- # - uses: actions/checkout@v2
114
- # - uses: dtolnay/rust-toolchain@nightly
115
- # - uses: swatinem/rust-cache@v2
116
- # - name: cargo check
117
- # run: |
118
- # rm -f Cargo.lock
119
- # cargo +nightly check -Z minimal-versions --workspace --all-features --bins
Original file line number Diff line number Diff line change 95
95
os : macOS-latest
96
96
target : darwin-x86_64
97
97
cargo_targets : " x86_64-apple-darwin"
98
- runner : [self-hosted, macOS, X64 ]
98
+ runner : [self-hosted, macOS, ARM64 ]
99
99
- name : macOS-arm-latest
100
100
os : macOS-latest
101
101
target : darwin-aarch64
You can’t perform that action at this time.
0 commit comments