change path #12
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |