Skip to content

Commit

Permalink
Install dependencies in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Amanieu committed Feb 24, 2022
1 parent cdb7dc8 commit a0a0b1a
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .github/workflows/lint.yaml
Expand Up @@ -28,6 +28,10 @@ jobs:
tar xf /opt/llvm.tar.xz --strip-components=1 -C /opt/llvm-12
echo '/opt/llvm-12/bin' >> $GITHUB_PATH
echo 'LLVM_SYS_120_PREFIX=/opt/llvm-12' >> $GITHUB_ENV
- name: Install dependencies on Linux
run: |
sudo apt-get update -y
sudo apt-get install -y libwayland-cursor0 libxkbcommon-dev libwayland-dev
- run: make lint
env:
ENABLE_CRANELIFT: "1"
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/test-sys.yaml
Expand Up @@ -104,10 +104,15 @@ jobs:
sudo apt-get update -y
sudo apt-get install -y --allow-downgrades libstdc++6=8.4.0-1ubuntu1~18.04
sudo apt-get install --reinstall g++-8
- name: Install dependencies on Linux
if: matrix.build == 'linux-x64'
run: |
sudo apt-get update -y
sudo apt-get install -y libwayland-cursor0 libxkbcommon-dev libwayland-dev
- name: Set up base deps on musl
if: matrix.build == 'linux-musl-x64'
run: |
apk add build-base musl-dev curl make libtool libffi-dev gcc automake autoconf git openssl-dev g++
apk add build-base musl-dev curl make libtool libffi-dev gcc automake autoconf git openssl-dev g++ libxkbcommon-dev wayland-dev
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
Expand Down

0 comments on commit a0a0b1a

Please sign in to comment.