naiveproxy/.github/workflows/build.yml
2021-02-28 13:11:51 +08:00

28 lines
653 B
YAML

on:
push:
branches:
- master
release:
types:
- created
jobs:
linux:
runs-on: ubuntu-latest
strategy:
matrix:
target_cpu: [x86]
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
- name: Configure
working-directory: src
run: ./get-clang.sh
- name: Build
working-directory: src
run: ./build.sh
- name: Basic tests
run: ./tests/basic.sh src/out/Release/naive