Skip to content

Update build.yml

Update build.yml #2

Workflow file for this run

name: Build
on: [push, pull_request]
jobs:
build:
name: Build ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ ubuntu-latest ]
include:
- os: ubuntu-latest
linux_arch: x86_64
- os: ubuntu-latest
linux_arch: aarch64
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