mirror of
https://github.com/openharmony/third_party_rust_libc.git
synced 2026-07-21 02:15:44 -04:00
Upgrade Ubuntu image on GHA to 22.04
Signed-off-by: Yuki Okushi <jtitor@2k36.org>
This commit is contained in:
+10
-10
@@ -9,7 +9,7 @@ on:
|
||||
jobs:
|
||||
docker_linux_tier1:
|
||||
name: Docker Linux Tier1
|
||||
runs-on: ubuntu-20.04
|
||||
runs-on: ubuntu-22.04
|
||||
strategy:
|
||||
fail-fast: true
|
||||
matrix:
|
||||
@@ -84,7 +84,7 @@ jobs:
|
||||
|
||||
style_check:
|
||||
name: Style check
|
||||
runs-on: ubuntu-20.04
|
||||
runs-on: ubuntu-22.04
|
||||
steps:
|
||||
- uses: rust-lang/simpleinfra/github-actions/cancel-outdated-builds@master
|
||||
with:
|
||||
@@ -98,7 +98,7 @@ jobs:
|
||||
docker_linux_tier2:
|
||||
name: Docker Linux Tier2
|
||||
needs: [docker_linux_tier1, style_check]
|
||||
runs-on: ubuntu-20.04
|
||||
runs-on: ubuntu-22.04
|
||||
strategy:
|
||||
fail-fast: true
|
||||
max-parallel: 12
|
||||
@@ -157,7 +157,7 @@ jobs:
|
||||
if: ${{ false }} # This is currently broken
|
||||
name: Docker Linux Build-Std Targets
|
||||
needs: [docker_linux_tier1, style_check]
|
||||
runs-on: ubuntu-20.04
|
||||
runs-on: ubuntu-22.04
|
||||
strategy:
|
||||
fail-fast: true
|
||||
max-parallel: 12
|
||||
@@ -179,7 +179,7 @@ jobs:
|
||||
docker_switch:
|
||||
name: Docker Switch
|
||||
needs: [docker_linux_tier1, style_check]
|
||||
runs-on: ubuntu-20.04
|
||||
runs-on: ubuntu-22.04
|
||||
steps:
|
||||
- uses: rust-lang/simpleinfra/github-actions/cancel-outdated-builds@master
|
||||
with:
|
||||
@@ -193,7 +193,7 @@ jobs:
|
||||
build_channels_linux:
|
||||
name: Build Channels Linux
|
||||
needs: docker_linux_tier2
|
||||
runs-on: ubuntu-20.04
|
||||
runs-on: ubuntu-22.04
|
||||
env:
|
||||
OS: linux
|
||||
strategy:
|
||||
@@ -277,7 +277,7 @@ jobs:
|
||||
semver_linux:
|
||||
if: ${{ false }} # This is currently broken
|
||||
name: Semver Linux
|
||||
runs-on: ubuntu-20.04
|
||||
runs-on: ubuntu-22.04
|
||||
continue-on-error: true
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
@@ -302,7 +302,7 @@ jobs:
|
||||
|
||||
docs:
|
||||
name: Generate documentation
|
||||
runs-on: ubuntu-20.04
|
||||
runs-on: ubuntu-22.04
|
||||
needs: docker_linux_tier2
|
||||
steps:
|
||||
- uses: rust-lang/simpleinfra/github-actions/cancel-outdated-builds@master
|
||||
@@ -323,7 +323,7 @@ jobs:
|
||||
end_success:
|
||||
name: bors build finished
|
||||
if: github.event.pusher.name == 'bors' && success()
|
||||
runs-on: ubuntu-20.04
|
||||
runs-on: ubuntu-22.04
|
||||
needs: [
|
||||
docker_linux_tier1,
|
||||
docker_linux_tier2,
|
||||
@@ -345,7 +345,7 @@ jobs:
|
||||
end_failure:
|
||||
name: bors build finished
|
||||
if: github.event.pusher.name == 'bors' && (failure() || cancelled())
|
||||
runs-on: ubuntu-20.04
|
||||
runs-on: ubuntu-22.04
|
||||
needs: [
|
||||
docker_linux_tier1,
|
||||
docker_linux_tier2,
|
||||
|
||||
@@ -8,7 +8,7 @@ on:
|
||||
jobs:
|
||||
upload_docs:
|
||||
name: Upload documentation
|
||||
runs-on: ubuntu-20.04
|
||||
runs-on: ubuntu-22.04
|
||||
if: github.repository == 'rust-lang/libc'
|
||||
|
||||
steps:
|
||||
|
||||
@@ -10,7 +10,7 @@ on:
|
||||
jobs:
|
||||
docker_linux_tier1:
|
||||
name: Docker Linux Tier1
|
||||
runs-on: ubuntu-20.04
|
||||
runs-on: ubuntu-22.04
|
||||
strategy:
|
||||
fail-fast: true
|
||||
matrix:
|
||||
@@ -76,7 +76,7 @@ jobs:
|
||||
|
||||
style_check:
|
||||
name: Style check
|
||||
runs-on: ubuntu-20.04
|
||||
runs-on: ubuntu-22.04
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Setup Rust toolchain
|
||||
|
||||
Reference in New Issue
Block a user