mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2024-11-24 06:16:30 +03:00
Add workflows
This commit is contained in:
parent
6a205a1e43
commit
4e350d288e
29
.github/workflows/build.yml
vendored
Normal file
29
.github/workflows/build.yml
vendored
Normal file
@ -0,0 +1,29 @@
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
release:
|
||||
types:
|
||||
- created
|
||||
jobs:
|
||||
linux:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
target_cpu: [x64, x86, arm64, arm]
|
||||
env:
|
||||
EXTRA_FLAGS: 'target_cpu="${{ matrix.target_cpu }}"'
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Install dependencies
|
||||
run: apt install ninja-build pkg-config libnss3-dev qemu-user ccache
|
||||
- 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
|
Loading…
Reference in New Issue
Block a user