mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2024-12-01 01:36:09 +03:00
Update build.yml
This commit is contained in:
parent
d0610aa14a
commit
f2c4131c8b
6
.github/workflows/build.yml
vendored
6
.github/workflows/build.yml
vendored
@ -8,6 +8,9 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
macos:
|
macos:
|
||||||
runs-on: macos-latest
|
runs-on: macos-latest
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
arch: [arm64, arm]
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- run: brew install ninja
|
- run: brew install ninja
|
||||||
@ -23,7 +26,7 @@ jobs:
|
|||||||
shell: bash
|
shell: bash
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
arch: [x64, x86, arm64]
|
arch: [arm]
|
||||||
env:
|
env:
|
||||||
EXTRA_FLAGS: 'target_cpu="${{ matrix.arch }}"'
|
EXTRA_FLAGS: 'target_cpu="${{ matrix.arch }}"'
|
||||||
steps:
|
steps:
|
||||||
@ -34,3 +37,4 @@ jobs:
|
|||||||
- run: ./build.sh
|
- run: ./build.sh
|
||||||
working-directory: src
|
working-directory: src
|
||||||
- run: ./tests/basic.sh src/out/Release/naive
|
- run: ./tests/basic.sh src/out/Release/naive
|
||||||
|
if: ${{ matrix.arch != 'arm' }}
|
||||||
|
Loading…
Reference in New Issue
Block a user