Use ubuntu-22.04 in CI

This commit is contained in:
Maschell 2022-09-04 17:25:55 +02:00
parent 4688e63d02
commit 0fedfa0971
2 changed files with 8 additions and 8 deletions

View File

@ -4,14 +4,14 @@ on: [pull_request]
jobs:
clang-format-lib:
runs-on: ubuntu-18.04
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v2
- name: clang-format
run: |
docker run --rm -v ${PWD}:/src wiiuenv/clang-format:13.0.0-2 -r ./include ./libraries
build-lib:
runs-on: ubuntu-18.04
runs-on: ubuntu-22.04
needs: clang-format-lib
steps:
- uses: actions/checkout@v2
@ -24,14 +24,14 @@ jobs:
name: binary
path: "/lib/*.a"
clang-format-examples:
runs-on: ubuntu-18.04
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v2
- name: clang-format
run: |
docker run --rm -v ${PWD}:/src wiiuenv/clang-format:13.0.0-2 -r ./example/example_module/source
build-examples:
runs-on: ubuntu-18.04
runs-on: ubuntu-22.04
needs: clang-format-examples
steps:
- uses: actions/checkout@v2

View File

@ -5,14 +5,14 @@ on:
- master
jobs:
clang-format-lib:
runs-on: ubuntu-18.04
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v2
- name: clang-format
run: |
docker run --rm -v ${PWD}:/src wiiuenv/clang-format:13.0.0-2 -r ./include ./libraries
build-lib:
runs-on: ubuntu-18.04
runs-on: ubuntu-22.04
needs: clang-format-lib
steps:
- uses: actions/checkout@v2
@ -21,14 +21,14 @@ jobs:
docker build . -f Dockerfile.buildlocal -t builder
docker run --rm -v ${PWD}:/project builder make
clang-format-examples:
runs-on: ubuntu-18.04
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v2
- name: clang-format
run: |
docker run --rm -v ${PWD}:/src wiiuenv/clang-format:13.0.0-2 -r ./example/example_module/source
build-examples:
runs-on: ubuntu-18.04
runs-on: ubuntu-22.04
needs: clang-format-examples
steps:
- uses: actions/checkout@v2