Skip to content

Commit

Permalink
trying to fix dependency issue in CI
Browse files Browse the repository at this point in the history
looks like udev wasnt installed in the github node
  • Loading branch information
raleighlittles committed Dec 17, 2023
1 parent c73f74a commit 33b1f8a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ jobs:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2

# https://stackoverflow.com/questions/73693257/how-to-fix-could-not-find-system-library-libudev-when-installing-cargo-flash
- name: Prepare
run: echo "Installing dependencies" && sudo apt install -y pkg-config libusb-1.0-0-dev libftdi1-dev libudev-dev

# Runs a single command using the runners shell
- name: Build
run: echo "Building project!" && cargo build --manifest-path gq_gmc/Cargo.toml
run: echo "Building project on Ubuntu version $(lsb_release -ds)" && cargo build --manifest-path gq_gmc/Cargo.toml

0 comments on commit 33b1f8a

Please sign in to comment.