Skip to content

Commit 5027e0a

Browse files
ci: Verify build on 32-bit targets
Co-authored-by: Ferdinand Sauer <ferdinand@neptune.cash>
1 parent 63fa287 commit 5027e0a

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.github/workflows/32bit.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: 32bit
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
pull_request:
8+
branches:
9+
- master
10+
11+
jobs:
12+
build:
13+
name: Build for 32-bit targets
14+
runs-on: ubuntu-latest
15+
steps:
16+
- name: Checkout repository
17+
uses: actions/checkout@v4
18+
19+
- name: Install stable toolchain
20+
uses: dtolnay/rust-toolchain@stable
21+
22+
- name: Build for 32-bit architectures
23+
run: |
24+
rustup target add i686-unknown-linux-gnu wasm32-unknown-unknown
25+
cargo build --target i686-unknown-linux-gnu
26+
cargo build --target wasm32-unknown-unknown

0 commit comments

Comments
 (0)