fix(ci): install xcb for Linux builds
This commit is contained in:
1 parent
31edc0dbf8
commit
cd234db299
3 files changed
+11
No files matched your search
@@ -103,6 +103,9 @@ jobs:
|
||||
with:
|
||||
"distribution": "temurin"
|
||||
"java-version": "21"
|
||||
- name: install Linux build dependencies
|
||||
if: runner.os == 'Linux'
|
||||
run: sudo apt-get update && sudo apt-get install --yes libxcb1-dev
|
||||
- name: Install dist
|
||||
run: ${{ matrix.install_dist.run }}
|
||||
# Get the dist-manifest
|
||||
|
||||
@@ -68,6 +68,9 @@ jobs:
|
||||
- uses: Swatinem/rust-cache@v2
|
||||
with:
|
||||
key: ${{ matrix.os }}
|
||||
- name: install Linux build dependencies
|
||||
if: runner.os == 'Linux'
|
||||
run: sudo apt-get update && sudo apt-get install --yes libxcb1-dev
|
||||
- run: cargo build --locked
|
||||
- run: cargo test --locked --all-targets
|
||||
|
||||
@@ -86,4 +89,6 @@ jobs:
|
||||
distribution: temurin
|
||||
java-version: "21"
|
||||
- uses: Swatinem/rust-cache@v2
|
||||
- name: install Linux build dependencies
|
||||
run: sudo apt-get update && sudo apt-get install --yes libxcb1-dev
|
||||
- run: cargo test --locked --all-targets -- --ignored
|
||||
Reference in new issue
Block a user