Skip to content

Commit

Permalink
First try at build workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
mnightingale committed Oct 26, 2023
1 parent dcb4c29 commit 1e4b3da
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Build

on:
push:
paths:
- 'rapidyenc/**'

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

0 comments on commit 1e4b3da

Please sign in to comment.