Skip to content

Commit 7c6fbc1

Browse files
Merge pull request #77 from wcampbell0x2a/add-initial-test
2 parents a00090a + 9d573b9 commit 7c6fbc1

File tree

8 files changed

+1039
-33
lines changed

8 files changed

+1039
-33
lines changed

.github/workflows/binaries.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ name: binaries
1010
jobs:
1111
# release binaries
1212
release-bins:
13-
runs-on: ubuntu-latest
13+
runs-on: ubuntu-24.04
1414
strategy:
1515
matrix:
1616
targets:

.github/workflows/main.yml

+21-3
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ on:
99
name: ci
1010

1111
jobs:
12-
# build, test all supported targets
12+
# build all supported targets
1313
build-stable:
14-
runs-on: ubuntu-latest
14+
runs-on: ubuntu-24.04
1515
strategy:
1616
matrix:
1717
targets:
@@ -28,9 +28,27 @@ jobs:
2828
- run: cargo install cross --git https://github.com/cross-rs/cross --force
2929
- run: cross build --locked --workspace --target ${{ matrix.targets }}
3030

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+
3149
# fmt and clippy on nightly builds
3250
fmt-clippy-nightly:
33-
runs-on: ubuntu-latest
51+
runs-on: ubuntu-24.04
3452

3553
steps:
3654
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1

0 commit comments

Comments
 (0)