Skip to content

try to get matrix correct #10

try to get matrix correct

try to get matrix correct #10

Workflow file for this run

name: Build
on: [ push ]
jobs:
build:
name: Build ${{ matrix.os }} ${{ matrix.linux_arch }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
include:
- os: ubuntu-latest
linux_arch: x86_64
- os: ubuntu-latest
linux_arch: aarch64
- os: macos-latest
steps:
- uses: actions/checkout@v4
- name: Set up QEMU
if: runner.os == 'Linux' && matrix.linux_arch == 'aarch64'
uses: docker/setup-qemu-action@v3
with:
platforms: all
- name: Build rapidyenc
run: |
cmake -S rapidyenc -B rapidyenc/build
cmake --build rapidyenc/build --target rapidyenc_static -j2