Skip to content

Commit

Permalink
Run tests in container
Browse files Browse the repository at this point in the history
  • Loading branch information
ax0 committed Nov 23, 2024
1 parent 73bcdba commit d0220c1
Showing 1 changed file with 12 additions and 5 deletions.
17 changes: 12 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,18 @@ env:
jobs:
build:
runs-on: ubuntu-latest
container: archlinux
steps:
- uses: actions/checkout@v4
- uses: actions-rust-lang/setup-rust-toolchain@v1.10.1
with:
toolchain: nightly
rustflags: ""
- name: Install dependencies
run: |
yes | pacman -Syu
yes | pacman -S gcc clang cmake alsa-lib fontconfig wayland libgit2 libxkbcommon-x11 openssl zstd pkgconf mold sqlite jq git
- name: Install Rust toolchain
run: |
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
. "$HOME/.cargo/env"
rustup toolchain install nightly
rustup default nightly
- name: Run tests
run: cargo test --release --verbose
run: cargo test --release --verbose

0 comments on commit d0220c1

Please sign in to comment.