Skip to content

Commit

Permalink
ci: add i386 unit test run
Browse files Browse the repository at this point in the history
[v2: enable cgo]

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
  • Loading branch information
kolyshkin committed Feb 2, 2021
1 parent 7e3c3e8 commit 7553ee7
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,16 @@ jobs:
if: matrix.rootless != 'rootless'
run: sudo -E PATH="$PATH" -- make localunittest

# We need to continue support for 32-bit ARM.
# However, we do not have 32-bit ARM CI, so we use i386 for testing 32bit stuff.
# We are not interested in providing official support for i386.
- name: unit test (i386)
if: matrix.rootless != 'rootless'
run: |
sudo apt -q install libseccomp-dev:i386
# cgo is disabled by default when cross-compiling
sudo -E PATH="$PATH" -- make GOARCH=386 CGO_ENABLED=1 localunittest
- name: add rootless user
if: matrix.rootless == 'rootless'
run: |
Expand Down

0 comments on commit 7553ee7

Please sign in to comment.