Use ubuntu-16.04 for glibc compatibility (#11888) (#73)

This commit is contained in:
rakita 2020-10-23 10:43:18 +02:00 committed by GitHub
parent 9110b1d9e4
commit d811f6e3ce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 9 additions and 9 deletions

View File

@ -15,7 +15,7 @@ jobs:
strategy: strategy:
matrix: matrix:
platform: platform:
- ubuntu-20.04 - ubuntu-16.04
- macos-latest - macos-latest
- windows-latest - windows-latest
toolchain: toolchain:
@ -48,7 +48,7 @@ jobs:
path: target path: target
key: ${{ runner.os }}-cargo-build-target-build-tests-${{ hashFiles('**/Cargo.lock') }} key: ${{ runner.os }}-cargo-build-target-build-tests-${{ hashFiles('**/Cargo.lock') }}
- name: Cache sccache linux - name: Cache sccache linux
if: matrix.platform == 'ubuntu-20.04' if: matrix.platform == 'ubuntu-16.04'
uses: actions/cache@v2 uses: actions/cache@v2
with: with:
path: "/home/runner/.cache/sccache" path: "/home/runner/.cache/sccache"

View File

@ -21,7 +21,7 @@ jobs:
strategy: strategy:
matrix: matrix:
platform: platform:
- ubuntu-20.04 - ubuntu-16.04
- macos-latest - macos-latest
- windows-latest - windows-latest
toolchain: toolchain:
@ -52,7 +52,7 @@ jobs:
path: target path: target
key: ${{ runner.os }}-cargo-build-target-build-${{ hashFiles('**/Cargo.lock') }} key: ${{ runner.os }}-cargo-build-target-build-${{ hashFiles('**/Cargo.lock') }}
- name: Cache sccache linux - name: Cache sccache linux
if: matrix.platform == 'ubuntu-20.04' if: matrix.platform == 'ubuntu-16.04'
uses: actions/cache@v2 uses: actions/cache@v2
with: with:
path: "/home/runner/.cache/sccache" path: "/home/runner/.cache/sccache"
@ -105,7 +105,7 @@ jobs:
- name: Upload Linux build - name: Upload Linux build
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v2
if: matrix.platform == 'ubuntu-20.04' if: matrix.platform == 'ubuntu-16.04'
with: with:
name: linux-artifacts name: linux-artifacts
path: artifacts path: artifacts
@ -132,7 +132,7 @@ jobs:
zip-artifacts-creator: zip-artifacts-creator:
name: Create zip artifacts name: Create zip artifacts
needs: build needs: build
runs-on: ubuntu-20.04 runs-on: ubuntu-16.04
steps: steps:
- name: Set env - name: Set env
run: echo ::set-env name=RELEASE_VERSION::${GITHUB_REF#refs/*/} run: echo ::set-env name=RELEASE_VERSION::${GITHUB_REF#refs/*/}
@ -253,7 +253,7 @@ jobs:
draft-release: draft-release:
name: Draft Release name: Draft Release
needs: zip-artifacts-creator needs: zip-artifacts-creator
runs-on: ubuntu-20.04 runs-on: ubuntu-16.04
steps: steps:
- name: Set env - name: Set env
run: echo ::set-env name=RELEASE_VERSION::${GITHUB_REF#refs/*/} run: echo ::set-env name=RELEASE_VERSION::${GITHUB_REF#refs/*/}

View File

@ -9,7 +9,7 @@ on:
jobs: jobs:
check: check:
name: Check name: Check
runs-on: ubuntu-20.04 runs-on: ubuntu-16.04
env: env:
SCCACHE_CACHE_SIZE: "1G" SCCACHE_CACHE_SIZE: "1G"
SCCACHE_IDLE_TIMEOUT: 0 SCCACHE_IDLE_TIMEOUT: 0