Skip to content

Commit

Permalink
ci: Build and test on arm64 and armhf images
Browse files Browse the repository at this point in the history
  • Loading branch information
igorauad committed Nov 1, 2023
1 parent 6b1a219 commit df98800
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,28 @@ jobs:
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}
- name: Test
run: cd ${{github.workspace}}/build && ctest -C ${{env.BUILD_TYPE}} -VV
arm:
runs-on: ubuntu-latest
strategy:
matrix:
container: ["3.10.7.0-ubuntu-jammy"]
platform: ["linux/arm64/v8", "linux/arm/v7"]
container:
image: igorfreire/gnuradio-oot-dev:${{ matrix.container }}
options: --platform ${{ matrix.platform }}
steps:
- uses: actions/checkout@v2
with:
submodules: "recursive"
- name: Install dependencies
if: ${{ contains(matrix.container, 'ubuntu') }}
run: apt update && apt install -y libsndfile1-dev
- name: Configure CMake
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}
- name: Build
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}
- name: Test
run: cd ${{github.workspace}}/build && ctest -C ${{env.BUILD_TYPE}} -VV
macos:
runs-on: macos-latest
steps:
Expand Down

0 comments on commit df98800

Please sign in to comment.