From 1f08c3a2c89631bcfca53e37ddb7c731bf6e111c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Patrick=20F=C3=B6rster?= Date: Wed, 12 Feb 2025 18:18:16 +0100 Subject: [PATCH] Upgrade CI pipelines to Ubuntu 22.04 (#1341) `ubuntu-20.04` is deprecated. --- .github/workflows/ci.yml | 10 +++++----- .github/workflows/publish.yml | 10 +++++----- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index dd487a87..efa43b3f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -38,17 +38,17 @@ jobs: - os: macos-latest target: aarch64-apple-darwin - - os: ubuntu-20.04 + - os: ubuntu-22.04 target: x86_64-unknown-linux-gnu test: true - - os: ubuntu-20.04 + - os: ubuntu-22.04 target: aarch64-unknown-linux-gnu - - os: ubuntu-20.04 + - os: ubuntu-22.04 target: armv7-unknown-linux-gnueabihf - - os: ubuntu-20.04 + - os: ubuntu-22.04 target: x86_64-unknown-linux-musl steps: - uses: actions/checkout@v4 @@ -58,7 +58,7 @@ jobs: - uses: Swatinem/rust-cache@v2 - name: Install cross-compilation dependencies run: sudo apt-get install -y gcc-aarch64-linux-gnu gcc-arm-linux-gnueabihf - if: ${{ matrix.os == 'ubuntu-20.04' }} + if: ${{ matrix.os == 'ubuntu-22.04' }} - name: Compile run: cargo test --target ${{ matrix.target }} --all-features --no-run --locked - name: Test diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index f554a7ba..3e39365b 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -36,19 +36,19 @@ jobs: target: aarch64-apple-darwin archive: texlab-aarch64-macos.tar.gz - - os: ubuntu-20.04 + - os: ubuntu-22.04 target: x86_64-unknown-linux-gnu archive: texlab-x86_64-linux.tar.gz - - os: ubuntu-20.04 + - os: ubuntu-22.04 target: aarch64-unknown-linux-gnu archive: texlab-aarch64-linux.tar.gz - - os: ubuntu-20.04 + - os: ubuntu-22.04 target: armv7-unknown-linux-gnueabihf archive: texlab-armv7hf-linux.tar.gz - - os: ubuntu-20.04 + - os: ubuntu-22.04 target: x86_64-unknown-linux-musl archive: texlab-x86_64-alpine.tar.gz steps: @@ -58,7 +58,7 @@ jobs: targets: ${{ matrix.target }} - name: Install cross-compilation dependencies run: sudo apt-get install -y gcc-aarch64-linux-gnu gcc-arm-linux-gnueabihf - if: ${{ matrix.os == 'ubuntu-20.04' }} + if: ${{ matrix.os == 'ubuntu-22.04' }} - name: Compile run: cargo build --target ${{ matrix.target }} --all-features --release --locked - name: Compress (Windows)