Skip to content

Commit 9512164

Browse files
committed
ci: improve CI, some errors were not caught
1 parent 1cf5272 commit 9512164

File tree

5 files changed

+175
-229
lines changed

5 files changed

+175
-229
lines changed

.github/workflows/build.yml

Lines changed: 33 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,40 @@ concurrency:
2222
cancel-in-progress: true
2323

2424
jobs:
25+
26+
lol:
27+
runs-on: ubuntu-24.04-arm
28+
steps:
29+
- uses: actions/checkout@v4
30+
- uses: houseabsolute/actions-rust-cross@v1
31+
with:
32+
target: aarch64-unknown-linux-gnu
33+
args: "--locked"
34+
strip: true
35+
36+
check-each-package:
37+
name: Check ${{ matrix.package }}
38+
runs-on: ubuntu-latest
39+
strategy:
40+
matrix:
41+
package:
42+
- "yozefu-lib"
43+
- "yozefu-app"
44+
- "yozefu-command"
45+
- "yozefu-tui"
46+
- "yozefu-wasm-types"
47+
steps:
48+
- uses: actions/checkout@v4
49+
- uses: actions-rust-lang/setup-rust-toolchain@v1
50+
with:
51+
toolchain: stable
52+
- uses: Swatinem/rust-cache@v2
53+
- name: Run cargo check
54+
run: cargo check --locked --release --package ${{ matrix.package }}
55+
2556
check:
26-
name: Check
2757
runs-on: ubuntu-latest
58+
needs: [check-each-package]
2859
steps:
2960
- uses: actions/checkout@v4
3061
- uses: actions-rust-lang/setup-rust-toolchain@v1
@@ -33,8 +64,6 @@ jobs:
3364
- uses: Swatinem/rust-cache@v2
3465
- name: Run cargo check
3566
run: cargo check --all-features --locked --release --all
36-
env:
37-
CARGO_NET_GIT_FETCH_WITH_CLI: true
3867

3968
build:
4069
name: Build w/o features
@@ -74,7 +103,7 @@ jobs:
74103
features: ""
75104
- os: ubuntu-latest
76105
target: aarch64-unknown-linux-gnu
77-
features: "--no-default-features --features ssl-vendored"
106+
features: ""
78107
- os: windows-latest
79108
target: x86_64-pc-windows-gnu
80109
features: "--no-default-features"

0 commit comments

Comments
 (0)