Skip to content

change path

change path #12

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: arm64
# - os: macos-latest
steps:
- uses: actions/checkout@v4
- name: Set up QEMU
if: runner.os == 'Linux' && matrix.linux_arch == 'arm64'
uses: docker/setup-qemu-action@v3
with:
platforms: arm64
- name: Run the build process with Docker
if: runner.os == 'Linux' && matrix.linux_arch == 'arm64'
uses: addnab/docker-run-action@v3
with:
image: arm64v8/gcc
options: |
--platform linux/arm64/v8
--volume ${{ github.workspace }}:/workspace
--workdir /workspace
run: |
ls -al
apt update && apt install -y cmake
cmake -S rapidyenc -B rapidyenc/build
cmake --build rapidyenc/build --target rapidyenc_static -j2