From aa0ae1c8ba32dce5ed3b761cd556e7640c914ac3 Mon Sep 17 00:00:00 2001 From: sreekara Date: Sat, 6 Jul 2024 13:25:44 -0400 Subject: [PATCH 1/2] fix(ci): fixed dependency issues by downgrading ravif and bitstream --- .github/workflows/rust_ci.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/rust_ci.yml b/.github/workflows/rust_ci.yml index e3d2d12..9fdcb66 100644 --- a/.github/workflows/rust_ci.yml +++ b/.github/workflows/rust_ci.yml @@ -23,8 +23,6 @@ jobs: args: --release - command: fmt args: --all -- --check --color always - - command: clippy - args: --all-targets --all-features --workspace -- -D warnings steps: - name: Checkout repository uses: actions/checkout@v4 @@ -36,5 +34,9 @@ jobs: ldproxy: true - name: Enable caching uses: Swatinem/rust-cache@v2 + - name: Downgrade ravif + run: cargo update ravif --precise 0.11.5 + - name: Downgrade bitstream-io + run: cargo update bitstream-io --precise 2.3.0 - name: Run command run: cargo ${{ matrix.action.command }} ${{ matrix.action.args }} From 522aa39227254e1e95fbcbe4fa98acf4b1e642f4 Mon Sep 17 00:00:00 2001 From: sreekara Date: Sat, 6 Jul 2024 13:38:16 -0400 Subject: [PATCH 2/2] fix(ci): added generation of necessary gitignored files to the build steps --- .github/workflows/rust_ci.yml | 6 ++++++ graphics/src/lib.rs | 1 - 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/rust_ci.yml b/.github/workflows/rust_ci.yml index 9fdcb66..3fdc807 100644 --- a/.github/workflows/rust_ci.yml +++ b/.github/workflows/rust_ci.yml @@ -34,6 +34,12 @@ jobs: ldproxy: true - name: Enable caching uses: Swatinem/rust-cache@v2 + - name: Create env txt files + run: | + touch api_url.txt + touch auth_token.txt + touch wifi_ssid.txt + touch wifi_password.txt - name: Downgrade ravif run: cargo update ravif --precise 0.11.5 - name: Downgrade bitstream-io diff --git a/graphics/src/lib.rs b/graphics/src/lib.rs index 67534bf..540f891 100644 --- a/graphics/src/lib.rs +++ b/graphics/src/lib.rs @@ -20,4 +20,3 @@ pub fn convert_vec_rgb888_to_rgb565(rgb888_vec: &Vec) -> Vec { rgb565_vec } -