forked from linux-can/can-utils
-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c0b22a5
commit bf8c0b8
Showing
1 changed file
with
40 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
name: Build in armv7 | ||
|
||
on: [push, pull_request, workflow_dispatch] | ||
|
||
jobs: | ||
build-in-armv7: | ||
runs-on: ubuntu-latest | ||
name: ${{ matrix.distro }} ${{ matrix.arch }} | ||
|
||
# Run steps on a matrix of archs. | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
include: | ||
- arch: armv7 | ||
distro: ubuntu22.04 | ||
|
||
steps: | ||
- uses: actions/[email protected] | ||
- uses: uraimo/[email protected] | ||
name: Test in non-x86 container | ||
continue-on-error: ${{ contains(fromJson('["ppc64le", "s390x"]'), matrix.arch) }} | ||
id: test | ||
with: | ||
arch: ${{ matrix.arch }} | ||
distro: ${{ matrix.distro }} | ||
githubToken: ${{ github.token }} # Not required, but speeds up builds | ||
setup: | | ||
mkdir -p "${PWD}/testing" | ||
dockerRunArgs: | | ||
--volume "${PWD}:/gnss-sdr" | ||
shell: /bin/sh | ||
install: | | ||
apt-get update -y | ||
apt-get install -y autoconf libtool build-essential gcc | ||
run: | | ||
./autogen.sh | ||
./configure | ||
make | ||
make distcheck |