diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml index 5192a7e4ef..f465a165e6 100644 --- a/.github/workflows/cmake.yml +++ b/.github/workflows/cmake.yml @@ -12,7 +12,7 @@ jobs: fail-fast: false matrix: include: - - os: ubuntu-latest + - os: ubuntu-22.04 name: Linux container: wpilib/roborio-cross-ubuntu:2023-22.04 flags: "" diff --git a/.github/workflows/comment-command.yml b/.github/workflows/comment-command.yml index 9464fb7966..7bd72a9532 100644 --- a/.github/workflows/comment-command.yml +++ b/.github/workflows/comment-command.yml @@ -6,7 +6,7 @@ on: jobs: wpiformat: if: github.event.issue.pull_request && startsWith(github.event.comment.body, '/wpiformat') - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - name: React Rocket uses: actions/github-script@v4 diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index 79bdf399e0..c963383a0e 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -12,7 +12,7 @@ env: jobs: publish: name: "Documentation - Publish" - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 if: github.repository_owner == 'wpilibsuite' && (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v')) concurrency: ci-docs-publish steps: @@ -24,8 +24,6 @@ jobs: with: distribution: 'zulu' java-version: 13 - - name: Install libclang-9 - run: sudo apt update && sudo apt install -y libclang-cpp9 libclang1-9 - name: Set environment variables (Development) run: | echo "TARGET_FOLDER=$BASE_PATH/development" >> $GITHUB_ENV diff --git a/.github/workflows/gazebo.yml b/.github/workflows/gazebo.yml index f7a44acf64..a8d4f4b7c8 100644 --- a/.github/workflows/gazebo.yml +++ b/.github/workflows/gazebo.yml @@ -9,7 +9,7 @@ concurrency: jobs: build: name: "Build" - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 container: wpilib/gazebo-ubuntu:22.04 steps: - uses: actions/checkout@v3 diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml index 6eb5be4313..bab5d67798 100644 --- a/.github/workflows/gradle.yml +++ b/.github/workflows/gradle.yml @@ -25,7 +25,7 @@ jobs: artifact-name: Linux build-options: "-Ponlylinuxx86-64" name: "Build - ${{ matrix.artifact-name }}" - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 container: ${{ matrix.container }} steps: - uses: actions/checkout@v3 @@ -122,7 +122,7 @@ jobs: build-documentation: name: "Build - Documentation" - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v3 with: @@ -131,8 +131,6 @@ jobs: with: distribution: 'zulu' java-version: 13 - - name: Install libclang-9 - run: sudo apt update && sudo apt install -y libclang-cpp9 libclang1-9 - name: Set release environment variable run: echo "EXTRA_GRADLE_ARGS=-PreleaseMode" >> $GITHUB_ENV if: startsWith(github.ref, 'refs/tags/v') @@ -149,7 +147,7 @@ jobs: combine: name: Combine needs: [build-docker, build-host, build-documentation] - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v3 with: diff --git a/.github/workflows/lint-format.yml b/.github/workflows/lint-format.yml index 044877f437..393e3b03cd 100644 --- a/.github/workflows/lint-format.yml +++ b/.github/workflows/lint-format.yml @@ -13,7 +13,7 @@ concurrency: jobs: wpiformat: name: "wpiformat" - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v3 - name: Fetch all history and metadata @@ -56,7 +56,7 @@ jobs: tidy: name: "clang-tidy" - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 container: wpilib/roborio-cross-ubuntu:2023-22.04 steps: - uses: actions/checkout@v3 @@ -86,7 +86,7 @@ jobs: run: wpiformat -clang 14 -no-format -tidy-changed -compile-commands=build/compile_commands/linuxx86-64 -vv javaformat: name: "Java format" - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 container: wpilib/ubuntu-base:22.04 steps: - uses: actions/checkout@v3 @@ -105,7 +105,7 @@ jobs: if: ${{ failure() }} documentation: name: "Documentation" - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v3 with: @@ -114,7 +114,5 @@ jobs: with: distribution: 'zulu' java-version: 13 - - name: Install libclang-9 - run: sudo apt update && sudo apt install -y libclang-cpp9 libclang1-9 - name: Build with Gradle run: ./gradlew docs:zipDocs -PbuildServer -PdocWarningsAsErrors ${{ env.EXTRA_GRADLE_ARGS }} diff --git a/.github/workflows/sanitizers.yml b/.github/workflows/sanitizers.yml index 0dbfb1fa62..3f68a61451 100644 --- a/.github/workflows/sanitizers.yml +++ b/.github/workflows/sanitizers.yml @@ -25,7 +25,7 @@ jobs: ctest-env: "" ctest-flags: "" name: "${{ matrix.name }}" - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 container: wpilib/roborio-cross-ubuntu:2023-22.04 steps: - uses: actions/checkout@v3 diff --git a/.github/workflows/upstream-utils.yml b/.github/workflows/upstream-utils.yml index f5d96a9fcd..ea6e9aa7fa 100644 --- a/.github/workflows/upstream-utils.yml +++ b/.github/workflows/upstream-utils.yml @@ -13,7 +13,7 @@ concurrency: jobs: update: name: "Update" - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v3 - name: Fetch all history and metadata