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 15, 2022
1 parent ee66db3 commit a86e8e0
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/rust-debian10.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: "Debian 10"

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

env:
CARGO_TERM_COLOR: always

jobs:
build:

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

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

0 comments on commit a86e8e0

Please sign in to comment.