mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2024-11-28 00:06:09 +03:00
Update Github Actions runners
This commit is contained in:
parent
5edebbfffb
commit
369729a74e
20
.github/workflows/build.yml
vendored
20
.github/workflows/build.yml
vendored
@ -10,13 +10,13 @@ defaults:
|
|||||||
shell: bash
|
shell: bash
|
||||||
working-directory: src
|
working-directory: src
|
||||||
env:
|
env:
|
||||||
CACHE_EPOCH: 1
|
CACHE_EPOCH: 2
|
||||||
CCACHE_MAXSIZE: 200M
|
CCACHE_MAXSIZE: 200M
|
||||||
CCACHE_MAXFILES: 0
|
CCACHE_MAXFILES: 0
|
||||||
SCCACHE_CACHE_SIZE: 200M
|
SCCACHE_CACHE_SIZE: 200M
|
||||||
jobs:
|
jobs:
|
||||||
cache-toolchains-posix:
|
cache-toolchains-posix:
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-22.04
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- name: Cache toolchains (Linux, OpenWrt, Android)
|
- name: Cache toolchains (Linux, OpenWrt, Android)
|
||||||
@ -49,7 +49,7 @@ jobs:
|
|||||||
wget https://snapshot.debian.org/archive/debian/20220515T152741Z/pool/main/q/qemu/qemu-user-static_7.0%2Bdfsg-6_amd64.deb
|
wget https://snapshot.debian.org/archive/debian/20220515T152741Z/pool/main/q/qemu/qemu-user-static_7.0%2Bdfsg-6_amd64.deb
|
||||||
fi
|
fi
|
||||||
cache-toolchains-win:
|
cache-toolchains-win:
|
||||||
runs-on: windows-2019
|
runs-on: windows-2022
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- name: Cache toolchains
|
- name: Cache toolchains
|
||||||
@ -79,7 +79,7 @@ jobs:
|
|||||||
unzip ninja-win.zip -d ~/bin
|
unzip ninja-win.zip -d ~/bin
|
||||||
fi
|
fi
|
||||||
cache-toolchains-mac:
|
cache-toolchains-mac:
|
||||||
runs-on: macos-11
|
runs-on: macos-12
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- uses: actions/cache@v3
|
- uses: actions/cache@v3
|
||||||
@ -93,7 +93,7 @@ jobs:
|
|||||||
- run: EXTRA_FLAGS='target_cpu="arm64"' ./get-clang.sh
|
- run: EXTRA_FLAGS='target_cpu="arm64"' ./get-clang.sh
|
||||||
linux:
|
linux:
|
||||||
needs: cache-toolchains-posix
|
needs: cache-toolchains-posix
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-22.04
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
@ -160,7 +160,7 @@ jobs:
|
|||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
android:
|
android:
|
||||||
needs: cache-toolchains-posix
|
needs: cache-toolchains-posix
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-22.04
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
@ -233,7 +233,7 @@ jobs:
|
|||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
win:
|
win:
|
||||||
needs: cache-toolchains-win
|
needs: cache-toolchains-win
|
||||||
runs-on: windows-2019
|
runs-on: windows-2022
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
@ -297,7 +297,7 @@ jobs:
|
|||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
mac:
|
mac:
|
||||||
needs: cache-toolchains-mac
|
needs: cache-toolchains-mac
|
||||||
runs-on: macos-11
|
runs-on: macos-12
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
@ -349,7 +349,7 @@ jobs:
|
|||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
ios:
|
ios:
|
||||||
needs: cache-toolchains-mac
|
needs: cache-toolchains-mac
|
||||||
runs-on: macos-11
|
runs-on: macos-12
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
@ -382,7 +382,7 @@ jobs:
|
|||||||
- run: ccache -s
|
- run: ccache -s
|
||||||
openwrt:
|
openwrt:
|
||||||
needs: cache-toolchains-posix
|
needs: cache-toolchains-posix
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-22.04
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
|
Loading…
Reference in New Issue
Block a user