Update build-x86.yml #17
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
name: Build in riscv64 | |
on: [push, pull_request, workflow_dispatch] | |
jobs: | |
build-in-riscv64: | |
runs-on: ubuntu-latest | |
name: ${{ matrix.distro }} ${{ matrix.arch }} | |
# Run steps on a matrix of archs. | |
strategy: | |
fail-fast: false | |
matrix: | |
include: | |
- arch: riscv64 | |
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 |