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

View File

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