Skip to content

fix arch

fix arch #213

Workflow file for this run

name: C/C++ CI
on:
push:
jobs:
build:
strategy:
matrix:
arch:
- arm64
- amd64
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
with:
platforms: linux/${{ matrix.arch}}
- name: Cache assets
uses: actions/cache@ab5e6d0c87105b4c9c2047343972218f562e4319 # v4
with:
# npm cache files are stored in `~/.npm` on Linux/macOS
path: tmp
key: ${{ runner.os }}-build-${{ hashFiles('Makefile') }}
restore-keys: |
${{ runner.os }}-build-
${{ runner.os }}-
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
- name: test
run: make test_on_docker
env:
DIST: github