Merge rust-bitcoin/rust-bitcoin#659: Add i686 to tested architectures
f2042bd89a
Add i686 to tested architectures (Martin Habovstiak) Pull request description: This adds i686 to CI which can help catching pointer-size-related bugs such as the one addressed by #658. Opening a new PR seemed more appropriate than adding it to #658 I can change it if you disagree. ACKs for top commit: apoelstra: ACKf2042bd89a
Tree-SHA512: b772c8cbc5faa6fed25faed275eb903cd7226d8ff618ff57ce3e6735cc53b5c797380a519c670faf4fd5aa86ae01d5232e8c21e03a282599e7caa532b2176be8
This commit is contained in:
commit
4bd3e1ddef
|
@ -43,6 +43,27 @@ jobs:
|
|||
env: ${{ matrix.env }}
|
||||
run: ./contrib/test.sh
|
||||
|
||||
Arch32bit:
|
||||
name: Testing 32-bit version
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout Crate
|
||||
uses: actions/checkout@v2
|
||||
- name: Checkout Toolchain
|
||||
uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
profile: minimal
|
||||
toolchain: stable
|
||||
override: true
|
||||
- name: Add architecture i386
|
||||
run: sudo dpkg --add-architecture i386
|
||||
- name: Install i686 gcc
|
||||
run: sudo apt-get update -y && sudo apt-get install -y gcc-multilib
|
||||
- name: Install target
|
||||
run: rustup target add i686-unknown-linux-gnu
|
||||
- name: Run test on i686
|
||||
run: cargo test --target i686-unknown-linux-gnu
|
||||
|
||||
Cross:
|
||||
name: Cross testing
|
||||
runs-on: ubuntu-latest
|
||||
|
|
Loading…
Reference in New Issue