Use ubuntu-20.04 (actual latest)

This commit is contained in:
Henrik Tjäder 2020-08-24 11:51:21 +00:00
parent 6df6db40d8
commit 5a23fb3bd3

View file

@ -14,7 +14,7 @@ jobs:
# Run cargo fmt --check, includes macros/ # Run cargo fmt --check, includes macros/
style: style:
name: style name: style
runs-on: ubuntu-latest runs-on: ubuntu-20.04
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v1 uses: actions/checkout@v1
@ -36,7 +36,7 @@ jobs:
# Compilation check # Compilation check
check: check:
name: check name: check
runs-on: ubuntu-latest runs-on: ubuntu-20.04
strategy: strategy:
matrix: matrix:
target: target:
@ -101,7 +101,7 @@ jobs:
# Verify all examples # Verify all examples
checkexamples: checkexamples:
name: checkexamples name: checkexamples
runs-on: ubuntu-latest runs-on: ubuntu-20.04
strategy: strategy:
matrix: matrix:
target: target:
@ -333,7 +333,7 @@ jobs:
# Check the correctness of macros/ crate # Check the correctness of macros/ crate
checkmacros: checkmacros:
name: checkmacros name: checkmacros
runs-on: ubuntu-latest runs-on: ubuntu-20.04
strategy: strategy:
matrix: matrix:
target: target:
@ -396,7 +396,7 @@ jobs:
# Run test suite for thumbv7m # Run test suite for thumbv7m
testv7: testv7:
name: testv7 name: testv7
runs-on: ubuntu-latest runs-on: ubuntu-20.04
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v2 uses: actions/checkout@v2
@ -448,7 +448,7 @@ jobs:
# Run test suite for thumbv6m # Run test suite for thumbv6m
testv6: testv6:
name: testv6 name: testv6
runs-on: ubuntu-latest runs-on: ubuntu-20.04
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v2 uses: actions/checkout@v2
@ -500,7 +500,7 @@ jobs:
# Verify all multicore examples # Verify all multicore examples
checkmulticore: checkmulticore:
name: checkmulticore name: checkmulticore
runs-on: ubuntu-latest runs-on: ubuntu-20.04
strategy: strategy:
matrix: matrix:
target: target:
@ -551,7 +551,7 @@ jobs:
# Build documentation, check links # Build documentation, check links
docs: docs:
name: docs name: docs
runs-on: ubuntu-latest runs-on: ubuntu-20.04
steps: steps:
- name: Checkout - name: Checkout
@ -624,7 +624,7 @@ jobs:
# Build the books # Build the books
mdbook: mdbook:
name: mdbook name: mdbook
runs-on: ubuntu-latest runs-on: ubuntu-20.04
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v2 uses: actions/checkout@v2
@ -669,7 +669,7 @@ jobs:
# Only runs when pushing to master branch # Only runs when pushing to master branch
deploy: deploy:
name: deploy name: deploy
runs-on: ubuntu-latest runs-on: ubuntu-20.04
needs: needs:
- style - style
- check - check
@ -784,7 +784,7 @@ jobs:
- checkmulticore - checkmulticore
- docs - docs
- mdbook - mdbook
runs-on: ubuntu-latest runs-on: ubuntu-20.04
steps: steps:
- name: Mark the job as a success - name: Mark the job as a success
run: exit 0 run: exit 0
@ -801,7 +801,7 @@ jobs:
- checkmulticore - checkmulticore
- docs - docs
- mdbook - mdbook
runs-on: ubuntu-latest runs-on: ubuntu-20.04
steps: steps:
- name: Mark the job as a failure - name: Mark the job as a failure
run: exit 1 run: exit 1