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