mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2024-11-24 06:16:30 +03:00
Update build.yml
This commit is contained in:
parent
da2367647e
commit
0470eb07da
30
.github/workflows/build.yml
vendored
30
.github/workflows/build.yml
vendored
@ -19,8 +19,16 @@ jobs:
|
||||
BUNDLE: 'naiveproxy-${{ github.event.release.tag_name }}-${{ github.job }}-${{ matrix.arch }}'
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/cache@v2
|
||||
with:
|
||||
path: ~/.ccache
|
||||
key: ccache-${{ github.job }}-${{ matrix.arch }}-${{ hashFiles('CHROMIUM_VERSION') }}
|
||||
- uses: actions/cache@v2
|
||||
with:
|
||||
path: src/out/sysroot-build/
|
||||
key: sysroot-${{ github.job }}-${{ matrix.arch }}-${{ hashFiles('CHROMIUM_VERSION') }}
|
||||
- run: sudo apt update
|
||||
- run: sudo apt install ninja-build pkg-config libnss3-dev qemu-user
|
||||
- run: sudo apt install ninja-build pkg-config libnss3-dev qemu-user ccache
|
||||
# libc6-i386 interferes with x86 build
|
||||
- run: sudo apt remove libc6-i386
|
||||
- run: ./get-clang.sh
|
||||
@ -51,6 +59,10 @@ jobs:
|
||||
BUNDLE: 'naiveproxy-${{ github.event.release.tag_name }}-${{ github.job }}-${{ matrix.arch }}'
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/cache@v2
|
||||
with:
|
||||
path: '%LOCALAPPDATA%\Mozilla\sccache'
|
||||
key: ccache-${{ github.job }}-${{ matrix.arch }}-${{ hashFiles('CHROMIUM_VERSION') }}
|
||||
- run: cinst ninja
|
||||
- run: ./get-clang.sh
|
||||
working-directory: src
|
||||
@ -78,7 +90,11 @@ jobs:
|
||||
BUNDLE: 'naiveproxy-${{ github.event.release.tag_name }}-${{ github.job }}-${{ matrix.arch }}'
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- run: brew install ninja
|
||||
- uses: actions/cache@v2
|
||||
with:
|
||||
path: ~/.ccache
|
||||
key: ccache-${{ github.job }}-${{ matrix.arch }}-${{ hashFiles('CHROMIUM_VERSION') }}
|
||||
- run: brew install ninja ccache
|
||||
- run: ./get-clang.sh
|
||||
working-directory: src
|
||||
- run: ./build.sh
|
||||
@ -131,8 +147,16 @@ jobs:
|
||||
BUNDLE: 'naiveproxy-${{ github.event.release.tag_name }}-${{ github.job }}-${{ matrix.arch }}'
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/cache@v2
|
||||
with:
|
||||
path: ~/.ccache
|
||||
key: ccache-${{ github.job }}-${{ matrix.arch }}-${{ hashFiles('CHROMIUM_VERSION') }}
|
||||
- uses: actions/cache@v2
|
||||
with:
|
||||
path: src/out/sysroot-build/
|
||||
key: openwrt-${{ github.job }}-${{ matrix.arch }}-19.07.7
|
||||
- run: sudo apt update
|
||||
- run: sudo apt install ninja-build pkg-config libnss3-dev qemu-user
|
||||
- run: sudo apt install ninja-build pkg-config libnss3-dev qemu-user ccache
|
||||
# libc6-i386 interferes with x86 build
|
||||
- run: sudo apt remove libc6-i386
|
||||
- run: ./get-clang.sh
|
||||
|
Loading…
Reference in New Issue
Block a user