mirror of
https://github.com/latex-lsp/texlab.git
synced 2025-07-07 21:25:32 +00:00
Upgrade CI pipelines to Ubuntu 22.04 (#1341)
`ubuntu-20.04` is deprecated.
This commit is contained in:
parent
1f2c9d7c47
commit
1f08c3a2c8
2 changed files with 10 additions and 10 deletions
10
.github/workflows/ci.yml
vendored
10
.github/workflows/ci.yml
vendored
|
@ -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
|
||||
|
|
10
.github/workflows/publish.yml
vendored
10
.github/workflows/publish.yml
vendored
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue