File tree 2 files changed +22
-4
lines changed
2 files changed +22
-4
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ name: binaries
10
10
jobs :
11
11
# release binaries
12
12
release-bins :
13
- runs-on : ubuntu-latest
13
+ runs-on : ubuntu-24.04
14
14
strategy :
15
15
matrix :
16
16
targets :
Original file line number Diff line number Diff line change 9
9
name : ci
10
10
11
11
jobs :
12
- # build, test all supported targets
12
+ # build all supported targets
13
13
build-stable :
14
- runs-on : ubuntu-latest
14
+ runs-on : ubuntu-24.04
15
15
strategy :
16
16
matrix :
17
17
targets :
28
28
- run : cargo install cross --git https://github.com/cross-rs/cross --force
29
29
- run : cross build --locked --workspace --target ${{ matrix.targets }}
30
30
31
+ # test on native
32
+ test-stable :
33
+ runs-on : ubuntu-24.04
34
+ strategy :
35
+ matrix :
36
+ toolchain :
37
+ - stable
38
+
39
+ steps :
40
+ - uses : actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
41
+ - uses : dtolnay/rust-toolchain@439cf607258077187679211f12aa6f19af4a0af7 # master
42
+ with :
43
+ toolchain : ${{ matrix.toolchain }}
44
+ - run : |
45
+ sudo apt-get update
46
+ sudo apt-get install -y gdb
47
+ - run : cargo test --target x86_64-unknown-linux-gnu
48
+
31
49
# fmt and clippy on nightly builds
32
50
fmt-clippy-nightly :
33
- runs-on : ubuntu-latest
51
+ runs-on : ubuntu-24.04
34
52
35
53
steps :
36
54
- uses : actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
You can’t perform that action at this time.
0 commit comments