From e6a2e488740ce3cda5141104767b0c3a0b34940d Mon Sep 17 00:00:00 2001 From: flxkrmr <8393480+flxkrmr@users.noreply.github.com> Date: Sat, 14 Dec 2024 11:39:15 +0100 Subject: [PATCH] Add installation of rust on build --- .github/workflows/rpi.yml | 3 +++ default.nix | 1 + 2 files changed, 4 insertions(+) diff --git a/.github/workflows/rpi.yml b/.github/workflows/rpi.yml index e96a2ef..264268e 100644 --- a/.github/workflows/rpi.yml +++ b/.github/workflows/rpi.yml @@ -19,6 +19,9 @@ jobs: - name: Checkout Repository uses: actions/checkout@v3 + - run: sudo apt-get update && sudo apt-get install -y rustup + - run: rustup default stable + - name: Rust build and test run: cargo test diff --git a/default.nix b/default.nix index 08d3f36..b9ea53a 100644 --- a/default.nix +++ b/default.nix @@ -2,6 +2,7 @@ pkgs.mkShell { nativeBuildInputs = with pkgs.buildPackages; [ rustc + rustup cargo sqlite dos2unix