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
444cc9b7f7
commit
a959ec09bc
30
.github/workflows/build.yml
vendored
30
.github/workflows/build.yml
vendored
@ -27,6 +27,13 @@ jobs:
|
||||
with:
|
||||
path: src/out/sysroot-build/
|
||||
key: sysroot-${{ github.job }}-${{ matrix.arch }}-${{ hashFiles('CHROMIUM_VERSION') }}
|
||||
- uses: actions/cache@v2
|
||||
with:
|
||||
path: |
|
||||
src/third_party/llvm-build/Release+Asserts/
|
||||
src/chrome/android/profiles/
|
||||
src/chrome/build/pgo_profiles/
|
||||
key: toolchain-linux-${{ hashFiles('CHROMIUM_VERSION') }}
|
||||
- run: sudo apt update
|
||||
- run: sudo apt install ninja-build pkg-config libnss3-dev qemu-user ccache
|
||||
# libc6-i386 interferes with x86 build
|
||||
@ -63,8 +70,14 @@ jobs:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/cache@v2
|
||||
with:
|
||||
path: '%LOCALAPPDATA%\Mozilla\sccache'
|
||||
path: ~/AppData/Local/Mozilla/sccache
|
||||
key: ccache-${{ github.job }}-${{ matrix.arch }}-${{ hashFiles('CHROMIUM_VERSION') }}
|
||||
- uses: actions/cache@v2
|
||||
with:
|
||||
path: |
|
||||
src/third_party/llvm-build/Release+Asserts/
|
||||
src/chrome/build/pgo_profiles/
|
||||
key: toolchain-win-${{ hashFiles('CHROMIUM_VERSION') }}
|
||||
- run: cinst ninja
|
||||
- run: ./get-clang.sh
|
||||
working-directory: src
|
||||
@ -96,8 +109,14 @@ jobs:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/cache@v2
|
||||
with:
|
||||
path: ~/.ccache
|
||||
path: ~/Library/Caches/ccache
|
||||
key: ccache-${{ github.job }}-${{ matrix.arch }}-${{ hashFiles('CHROMIUM_VERSION') }}
|
||||
- uses: actions/cache@v2
|
||||
with:
|
||||
path: |
|
||||
src/third_party/llvm-build/Release+Asserts/
|
||||
src/chrome/build/pgo_profiles/
|
||||
key: toolchain-mac-${{ hashFiles('CHROMIUM_VERSION') }}
|
||||
- run: brew install ninja ccache
|
||||
- run: ./get-clang.sh
|
||||
working-directory: src
|
||||
@ -161,6 +180,13 @@ jobs:
|
||||
with:
|
||||
path: src/out/sysroot-build/
|
||||
key: openwrt-${{ github.job }}-${{ matrix.arch }}-19.07.7
|
||||
- uses: actions/cache@v2
|
||||
with:
|
||||
path: |
|
||||
src/third_party/llvm-build/Release+Asserts/
|
||||
src/chrome/android/profiles/
|
||||
src/chrome/build/pgo_profiles/
|
||||
key: toolchain-linux-${{ hashFiles('CHROMIUM_VERSION') }}
|
||||
- run: sudo apt update
|
||||
- run: sudo apt install ninja-build pkg-config libnss3-dev qemu-user ccache
|
||||
# libc6-i386 interferes with x86 build
|
||||
|
Loading…
Reference in New Issue
Block a user