Skip to content

Commit

Permalink
Create build-riscv64.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
chbinousamy committed Sep 14, 2023
1 parent 0faa49c commit c0b22a5
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions .github/workflows/build-riscv64.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
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

0 comments on commit c0b22a5

Please sign in to comment.