Update build.yml

This commit is contained in:
klzgrad 2021-02-28 12:52:10 +08:00 committed by GitHub
parent 0ba7fbcd97
commit 9eedcd0778
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10,22 +10,18 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
target_cpu: [x64, x86, arm64, arm]
target_cpu: [x64]
env:
EXTRA_FLAGS: 'target_cpu="${{ matrix.target_cpu }}"'
steps:
- uses: actions/checkout@v2
- name: Install dependencies
run: |
sudo apt update
sudo apt install ninja-build pkg-config libnss3-dev qemu-user ccache
run: sudo apt update && sudo apt install ninja-build pkg-config libnss3-dev qemu-user
- name: Configure
working-directory: src
run: ./get-clang.sh
- name: Show ccache stats
run: ccache -s
- name: Build
working-directory: src
run: ./build.sh
- name: Basic tests
run: ./tests/basic.sh src/out/Release/naive
run: ./tests/basic.sh src/out/Release/naive