mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2024-11-24 22:36:09 +03:00
37 lines
801 B
YAML
37 lines
801 B
YAML
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
release:
|
|
types:
|
|
- created
|
|
jobs:
|
|
macos:
|
|
runs-on: macos-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- run: brew install ninja
|
|
- run: ./get-clang.sh
|
|
working-directory: src
|
|
- run: ./build.sh
|
|
working-directory: src
|
|
- run: ./tests/basic.sh src/out/Release/naive
|
|
win:
|
|
runs-on: windows-latest
|
|
defaults:
|
|
run:
|
|
shell: bash
|
|
strategy:
|
|
matrix:
|
|
arch: [x64, x86, arm64]
|
|
env:
|
|
EXTRA_FLAGS: 'target_cpu="${{ matrix.arch }}"'
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- run: cinst ninja
|
|
- run: ./get-clang.sh
|
|
working-directory: src
|
|
- run: ./build.sh
|
|
working-directory: src
|
|
- run: ./tests/basic.sh src/out/Release/naive
|