mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2024-11-28 00:06:09 +03:00
Update build.yml
This commit is contained in:
parent
01fbb4a23b
commit
444cc9b7f7
8
.github/workflows/build.yml
vendored
8
.github/workflows/build.yml
vendored
@ -33,8 +33,10 @@ jobs:
|
|||||||
- run: sudo apt remove libc6-i386
|
- run: sudo apt remove libc6-i386
|
||||||
- run: ./get-clang.sh
|
- run: ./get-clang.sh
|
||||||
working-directory: src
|
working-directory: src
|
||||||
|
- run: ccache -s
|
||||||
- run: ./build.sh
|
- run: ./build.sh
|
||||||
working-directory: src
|
working-directory: src
|
||||||
|
- run: ccache -s
|
||||||
- run: ./tests/basic.sh src/out/Release/naive
|
- run: ./tests/basic.sh src/out/Release/naive
|
||||||
- run: mkdir ${{ env.BUNDLE }} && cp src/out/Release/naive src/config.json LICENSE USAGE.txt ${{ env.BUNDLE }}
|
- run: mkdir ${{ env.BUNDLE }} && cp src/out/Release/naive src/config.json LICENSE USAGE.txt ${{ env.BUNDLE }}
|
||||||
- run: tar cJf ${{ env.BUNDLE }}.tar.xz ${{ env.BUNDLE }}
|
- run: tar cJf ${{ env.BUNDLE }}.tar.xz ${{ env.BUNDLE }}
|
||||||
@ -66,8 +68,10 @@ jobs:
|
|||||||
- run: cinst ninja
|
- run: cinst ninja
|
||||||
- run: ./get-clang.sh
|
- run: ./get-clang.sh
|
||||||
working-directory: src
|
working-directory: src
|
||||||
|
- run: ~/.cargo/bin/sccache -s
|
||||||
- run: ./build.sh
|
- run: ./build.sh
|
||||||
working-directory: src
|
working-directory: src
|
||||||
|
- run: ~/.cargo/bin/sccache -s
|
||||||
- run: ./tests/basic.sh src/out/Release/naive
|
- run: ./tests/basic.sh src/out/Release/naive
|
||||||
if: ${{ matrix.arch != 'arm64' }}
|
if: ${{ matrix.arch != 'arm64' }}
|
||||||
- run: mkdir ${{ env.BUNDLE }} && cp src/out/Release/naive.exe src/config.json LICENSE USAGE.txt ${{ env.BUNDLE }}
|
- run: mkdir ${{ env.BUNDLE }} && cp src/out/Release/naive.exe src/config.json LICENSE USAGE.txt ${{ env.BUNDLE }}
|
||||||
@ -97,8 +101,10 @@ jobs:
|
|||||||
- run: brew install ninja ccache
|
- run: brew install ninja ccache
|
||||||
- run: ./get-clang.sh
|
- run: ./get-clang.sh
|
||||||
working-directory: src
|
working-directory: src
|
||||||
|
- run: ccache -s
|
||||||
- run: ./build.sh
|
- run: ./build.sh
|
||||||
working-directory: src
|
working-directory: src
|
||||||
|
- run: ccache -s
|
||||||
- run: ./tests/basic.sh src/out/Release/naive
|
- run: ./tests/basic.sh src/out/Release/naive
|
||||||
if: ${{ matrix.arch != 'arm64' }}
|
if: ${{ matrix.arch != 'arm64' }}
|
||||||
- run: mkdir ${{ env.BUNDLE }} && cp src/out/Release/naive src/config.json LICENSE USAGE.txt ${{ env.BUNDLE }}
|
- run: mkdir ${{ env.BUNDLE }} && cp src/out/Release/naive src/config.json LICENSE USAGE.txt ${{ env.BUNDLE }}
|
||||||
@ -161,8 +167,10 @@ jobs:
|
|||||||
- run: sudo apt remove libc6-i386
|
- run: sudo apt remove libc6-i386
|
||||||
- run: ./get-clang.sh
|
- run: ./get-clang.sh
|
||||||
working-directory: src
|
working-directory: src
|
||||||
|
- run: ccache -s
|
||||||
- run: ./build.sh
|
- run: ./build.sh
|
||||||
working-directory: src
|
working-directory: src
|
||||||
|
- run: ccache -s
|
||||||
- run: ./tests/basic.sh src/out/Release/naive
|
- run: ./tests/basic.sh src/out/Release/naive
|
||||||
- run: mkdir ${{ env.BUNDLE }} && cp src/out/Release/naive src/config.json LICENSE USAGE.txt ${{ env.BUNDLE }}
|
- run: mkdir ${{ env.BUNDLE }} && cp src/out/Release/naive src/config.json LICENSE USAGE.txt ${{ env.BUNDLE }}
|
||||||
- run: tar cJf ${{ env.BUNDLE }}.tar.xz ${{ env.BUNDLE }}
|
- run: tar cJf ${{ env.BUNDLE }}.tar.xz ${{ env.BUNDLE }}
|
||||||
|
Loading…
Reference in New Issue
Block a user