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
@@ -3,3 +3,6 @@
|
|||||||
with:
|
with:
|
||||||
distribution: temurin
|
distribution: temurin
|
||||||
java-version: "21"
|
java-version: "21"
|
||||||
|
- name: install Linux build dependencies
|
||||||
|
if: runner.os == 'Linux'
|
||||||
|
run: sudo apt-get update && sudo apt-get install --yes libxcb1-dev
|
||||||
@@ -103,6 +103,9 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
"distribution": "temurin"
|
"distribution": "temurin"
|
||||||
"java-version": "21"
|
"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
|
- name: Install dist
|
||||||
run: ${{ matrix.install_dist.run }}
|
run: ${{ matrix.install_dist.run }}
|
||||||
# Get the dist-manifest
|
# Get the dist-manifest
|
||||||
|
|||||||
@@ -68,6 +68,9 @@ jobs:
|
|||||||
- uses: Swatinem/rust-cache@v2
|
- uses: Swatinem/rust-cache@v2
|
||||||
with:
|
with:
|
||||||
key: ${{ matrix.os }}
|
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 build --locked
|
||||||
- run: cargo test --locked --all-targets
|
- run: cargo test --locked --all-targets
|
||||||
|
|
||||||
@@ -86,4 +89,6 @@ jobs:
|
|||||||
distribution: temurin
|
distribution: temurin
|
||||||
java-version: "21"
|
java-version: "21"
|
||||||
- uses: Swatinem/rust-cache@v2
|
- 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
|
- run: cargo test --locked --all-targets -- --ignored
|
||||||
Reference in new issue
Block a user