Skip to content

Commit

Permalink
Install gpio-sim to github runner
Browse files Browse the repository at this point in the history
Now that there's a test that uses gpio-sim, we need the kernel module in
the runner environment for it to work.
  • Loading branch information
ThirteenFish committed Jul 8, 2024
1 parent bd6b975 commit 00b3487
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install gpio-sim
run: |
sudo apt-get update
sudo apt-get install linux-modules-extra-$(uname -r)
sudo modprobe gpio-sim
- name: Build
run: cargo build --verbose
- name: Run fmt
Expand Down

0 comments on commit 00b3487

Please sign in to comment.