From 90c3cd7c8e057cf6ec008387e695d6558668a0fa Mon Sep 17 00:00:00 2001 From: klzgrad Date: Sun, 28 Feb 2021 15:04:36 +0800 Subject: [PATCH] Update build.yml --- .github/workflows/build.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 2a97740683..bfe637cb96 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -10,8 +10,17 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - target_cpu: [x86] + target_cpu: [x64, x86, arm64, arm] env: EXTRA_FLAGS: 'target_cpu="${{ matrix.target_cpu }}"' steps: + - uses: actions/checkout@v2 + - run: sudo apt update + - run: sudo apt install ninja-build pkg-config libnss3-dev qemu-user strace + # libc6-i386 interferes with linux-x86 build - run: sudo apt remove libc6-i386 + - run: ./get-clang.sh + working-directory: src + - run: ./build.sh + working-directory: src + - run: ./tests/basic.sh src/out/Release/naive