From fbcaaa47267e039f5b3548cd18c00fafd3fab1b4 Mon Sep 17 00:00:00 2001 From: Ellie Huxtable Date: Wed, 10 Apr 2024 19:12:04 +0100 Subject: [PATCH] I forgot we build for windows too... end of day --- .github/workflows/rust.yml | 52 ++++++++++++++++++++++++++++++++------ 1 file changed, 44 insertions(+), 8 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 0d41d68ca65..a824891ede2 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -33,8 +33,17 @@ jobs: key: ${{ runner.os }}-cargo-release-${{ hashFiles('**/Cargo.lock') }} - name: Install dependencies - if: matrix.os != 'macos-14' - run: sudo apt update && sudo apt install libgtk-3-dev + if: matrix.os != 'macos-14' && matrix.os != 'windows-latest' + run: | + sudo apt update + sudo apt install libwebkit2gtk-4.1-dev \ + build-essential \ + curl \ + wget \ + file \ + libssl-dev \ + libayatana-appindicator3-dev \ + librsvg2-dev - name: Run cargo build common run: cargo build -p atuin-common --locked --release @@ -100,8 +109,17 @@ jobs: toolchain: stable - name: Install dependencies - if: matrix.os != 'macos-14' - run: sudo apt update && sudo apt install libgtk-3-dev + if: matrix.os != 'macos-14' && matrix.os != 'windows-latest' + run: | + sudo apt update + sudo apt install libwebkit2gtk-4.1-dev \ + build-essential \ + curl \ + wget \ + file \ + libssl-dev \ + libayatana-appindicator3-dev \ + librsvg2-dev - uses: taiki-e/install-action@v2 name: Install nextest @@ -134,8 +152,17 @@ jobs: toolchain: stable - name: Install dependencies - if: matrix.os != 'macos-14' - run: sudo apt update && sudo apt install libgtk-3-dev + if: matrix.os != 'macos-14' && matrix.os != 'windows-latest' + run: | + sudo apt update + sudo apt install libwebkit2gtk-4.1-dev \ + build-essential \ + curl \ + wget \ + file \ + libssl-dev \ + libayatana-appindicator3-dev \ + librsvg2-dev - uses: actions/cache@v3 with: @@ -212,8 +239,17 @@ jobs: components: clippy - name: Install dependencies - if: matrix.os != 'macos-14' - run: sudo apt update && sudo apt install libgtk-3-dev + if: matrix.os != 'macos-14' && matrix.os != 'windows-latest' + run: | + sudo apt update + sudo apt install libwebkit2gtk-4.1-dev \ + build-essential \ + curl \ + wget \ + file \ + libssl-dev \ + libayatana-appindicator3-dev \ + librsvg2-dev - uses: actions/cache@v3 with: