diff --git a/.gitea/workflows/pull_request.yaml b/.gitea/workflows/pull_request.yaml index 8ba2d08..c189583 100644 --- a/.gitea/workflows/pull_request.yaml +++ b/.gitea/workflows/pull_request.yaml @@ -12,6 +12,11 @@ jobs: - uses: https://github.com/dtolnay/rust-toolchain@stable + - name: Install dependencies + run: | + apt-get update + apt-get install --no-install-recommends -y gcc-avr + - name: Build run: | cd rust/arduino @@ -23,6 +28,9 @@ jobs: - uses: https://github.com/dtolnay/rust-toolchain@stable + - name: Install flip-link + run: cargo install flip-link + - name: Build run: | cd rust/pico @@ -34,6 +42,11 @@ jobs: - uses: https://github.com/dtolnay/rust-toolchain@stable + - name: Install dependencies + run: | + apt-get update + apt-get install --no-install-recommends -y libpango1.0-dev libgtk-3-dev libudev-dev + - name: Build run: | cd rust/serial_reader diff --git a/rust/arduino/Cargo.toml b/rust/arduino/Cargo.toml index 45768d2..9c463a5 100644 --- a/rust/arduino/Cargo.toml +++ b/rust/arduino/Cargo.toml @@ -6,7 +6,7 @@ edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] panic-halt = "0.2.0" -avr-device = { version = "0.5.1", features = ["atmega328p"] } +avr-device = { version = "0.5.2", features = ["atmega328p"] } arduino-hal = { git = "https://github.com/Rahix/avr-hal", features = ["arduino-uno"], rev = "1aacefb335517f85d0de858231e11055d9768cdf" } ufmt = "0.2.0" diff --git a/rust/serial_reader/Cargo.toml b/rust/serial_reader/Cargo.toml index f77eb0b..a2c7b76 100644 --- a/rust/serial_reader/Cargo.toml +++ b/rust/serial_reader/Cargo.toml @@ -8,5 +8,5 @@ edition = "2021" [dependencies] serialport = "4.2.2" gtk = { version = "0.18.0", features = ["v3_24"] } -anyhow = { version = "1.0.74", features = ["backtrace"] } +anyhow = { version = "1.0.75", features = ["backtrace"] } glib = "0.18.1"