mirror of
https://github.com/rtic-rs/rtic.git
synced 2024-11-23 20:22:51 +01:00
CI: Update to 22.04
This commit is contained in:
parent
d6edeb6a64
commit
e31ee3fa11
1 changed files with 13 additions and 13 deletions
26
.github/workflows/build.yml
vendored
26
.github/workflows/build.yml
vendored
|
@ -16,7 +16,7 @@ jobs:
|
||||||
# Run cargo fmt --check, includes macros/
|
# Run cargo fmt --check, includes macros/
|
||||||
style:
|
style:
|
||||||
name: style
|
name: style
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-22.04
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
|
@ -41,7 +41,7 @@ jobs:
|
||||||
# Compilation check
|
# Compilation check
|
||||||
check:
|
check:
|
||||||
name: check
|
name: check
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-22.04
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
target:
|
target:
|
||||||
|
@ -77,7 +77,7 @@ jobs:
|
||||||
# Clippy
|
# Clippy
|
||||||
clippy:
|
clippy:
|
||||||
name: Cargo clippy
|
name: Cargo clippy
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-22.04
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
|
@ -104,7 +104,7 @@ jobs:
|
||||||
# Verify all examples, checks
|
# Verify all examples, checks
|
||||||
checkexamples:
|
checkexamples:
|
||||||
name: checkexamples
|
name: checkexamples
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-22.04
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
target:
|
target:
|
||||||
|
@ -137,7 +137,7 @@ jobs:
|
||||||
# Verify the example output with run-pass tests
|
# Verify the example output with run-pass tests
|
||||||
testexamples:
|
testexamples:
|
||||||
name: testexamples
|
name: testexamples
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-22.04
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
target:
|
target:
|
||||||
|
@ -182,7 +182,7 @@ jobs:
|
||||||
# Check the correctness of macros/ crate
|
# Check the correctness of macros/ crate
|
||||||
checkmacros:
|
checkmacros:
|
||||||
name: checkmacros
|
name: checkmacros
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-22.04
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
target:
|
target:
|
||||||
|
@ -216,7 +216,7 @@ jobs:
|
||||||
# Run the macros test-suite
|
# Run the macros test-suite
|
||||||
testmacros:
|
testmacros:
|
||||||
name: testmacros
|
name: testmacros
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-22.04
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
|
@ -244,7 +244,7 @@ jobs:
|
||||||
# Run test suite
|
# Run test suite
|
||||||
tests:
|
tests:
|
||||||
name: tests
|
name: tests
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-22.04
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
|
@ -271,7 +271,7 @@ jobs:
|
||||||
# Build documentation, check links
|
# Build documentation, check links
|
||||||
docs:
|
docs:
|
||||||
name: docs
|
name: docs
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-22.04
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
|
@ -318,7 +318,7 @@ jobs:
|
||||||
# Build the books
|
# Build the books
|
||||||
mdbook:
|
mdbook:
|
||||||
name: mdbook
|
name: mdbook
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-22.04
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
|
@ -367,7 +367,7 @@ jobs:
|
||||||
# This needs to run before book is built
|
# This needs to run before book is built
|
||||||
mergetostablebranch:
|
mergetostablebranch:
|
||||||
name: If CI passes, merge master branch into release/vX
|
name: If CI passes, merge master branch into release/vX
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-22.04
|
||||||
needs:
|
needs:
|
||||||
- style
|
- style
|
||||||
- check
|
- check
|
||||||
|
@ -408,7 +408,7 @@ jobs:
|
||||||
# If all tests pass, then deploy stage is run
|
# If all tests pass, then deploy stage is run
|
||||||
deploy:
|
deploy:
|
||||||
name: deploy
|
name: deploy
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-22.04
|
||||||
needs:
|
needs:
|
||||||
mergetostablebranch
|
mergetostablebranch
|
||||||
|
|
||||||
|
@ -561,7 +561,7 @@ jobs:
|
||||||
- tests
|
- tests
|
||||||
- docs
|
- docs
|
||||||
- mdbook
|
- mdbook
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-22.04
|
||||||
steps:
|
steps:
|
||||||
- name: Mark the job as a success
|
- name: Mark the job as a success
|
||||||
run: exit 0
|
run: exit 0
|
||||||
|
|
Loading…
Reference in a new issue