Skip to content

Commit

Permalink
Build in Debian 10 container
Browse files Browse the repository at this point in the history
This ensures that we're compatible with Debian's packaged version of
rustc. Ideally we would run the full CI workflow (package build and
installation) on Debian 10, but since that's best done on a full system
and not a container to test systemd packaging etc., leave it alone for
now.
  • Loading branch information
geofft committed Oct 14, 2022
1 parent ee66db3 commit c63e4f9
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,16 @@ jobs:
build:

runs-on: ubuntu-latest
container: debian:10

steps:
- uses: actions/checkout@v2
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install build-essential dpkg-dev
sudo apt-get build-dep .
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose
run: cargo test --verbose

0 comments on commit c63e4f9

Please sign in to comment.