Skip to content

Commit c38e78a

Browse files
authored
Merge pull request #3091 from youknowone/x86-ci
CI for x86 32bit (i686-unknown-linux-gnu)
2 parents a9addd4 + a072d95 commit c38e78a

1 file changed

Lines changed: 14 additions & 3 deletions

File tree

.github/workflows/ci.yaml

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,15 +62,26 @@ jobs:
6262
if: runner.os == 'macOS'
6363

6464
exotic_targets:
65-
name: Ensure compilation on exotic targets
65+
name: Ensure compilation on various targets
6666
runs-on: ubuntu-latest
6767
steps:
6868
- uses: actions/checkout@v2
69+
6970
- uses: actions-rs/toolchain@v1
7071
with:
71-
target: aarch64-linux-android
72+
target: i686-unknown-linux-gnu
7273

73-
- uses: Swatinem/rust-cache@v1
74+
- name: Install gcc-multilib
75+
run: sudo apt-get install gcc-multilib
76+
- name: Check compilation for x86 32bit
77+
uses: actions-rs/cargo@v1
78+
with:
79+
command: check
80+
args: --target i686-unknown-linux-gnu
81+
82+
- uses: actions-rs/toolchain@v1
83+
with:
84+
target: aarch64-linux-android
7485

7586
- name: Check compilation for android
7687
uses: actions-rs/cargo@v1

0 commit comments

Comments
 (0)