From 69a1f3773c24d69cadc4fed48a535e4b033a161d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Walther?= Date: Tue, 22 Feb 2022 15:41:20 +0100 Subject: [PATCH] Amended test workflow --- .github/workflows/test_build.yml | 48 ++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) diff --git a/.github/workflows/test_build.yml b/.github/workflows/test_build.yml index 2170f30377..8c6bec43df 100644 --- a/.github/workflows/test_build.yml +++ b/.github/workflows/test_build.yml @@ -30,6 +30,18 @@ jobs: needs: build runs-on: ubuntu-latest steps: + - name: Install Dependencies (Linux) + run: sudo apt-get update && sudo apt-get -y install libwebkit2gtk-4.0-dev build-essential curl wget libssl-dev libgtk-3-dev squashfs-tools + - name: Check out repository code + uses: actions/checkout@v2 + + - name: Install rust toolchain + uses: actions-rs/toolchain@v1 + with: + profile: minimal + toolchain: stable + override: true + components: rustfmt, clippy - uses: Swatinem/rust-cache@v1 - name: Run all tests uses: actions-rs/cargo@v1 @@ -40,6 +52,18 @@ jobs: needs: build runs-on: ubuntu-latest steps: + - name: Install Dependencies (Linux) + run: sudo apt-get update && sudo apt-get -y install libwebkit2gtk-4.0-dev build-essential curl wget libssl-dev libgtk-3-dev squashfs-tools + - name: Check out repository code + uses: actions/checkout@v2 + + - name: Install rust toolchain + uses: actions-rs/toolchain@v1 + with: + profile: minimal + toolchain: stable + override: true + components: rustfmt, clippy - uses: Swatinem/rust-cache@v1 - name: Check formatting uses: actions-rs/cargo@v1 @@ -50,6 +74,18 @@ jobs: needs: build runs-on: ubuntu-latest steps: + - name: Install Dependencies (Linux) + run: sudo apt-get update && sudo apt-get -y install libwebkit2gtk-4.0-dev build-essential curl wget libssl-dev libgtk-3-dev squashfs-tools + - name: Check out repository code + uses: actions/checkout@v2 + + - name: Install rust toolchain + uses: actions-rs/toolchain@v1 + with: + profile: minimal + toolchain: stable + override: true + components: rustfmt, clippy - uses: Swatinem/rust-cache@v1 - uses: actions-rs/clippy-check@v1 name: Clippy checks @@ -66,6 +102,18 @@ jobs: needs: build runs-on: ubuntu-latest steps: + - name: Install Dependencies (Linux) + run: sudo apt-get update && sudo apt-get -y install libwebkit2gtk-4.0-dev build-essential curl wget libssl-dev libgtk-3-dev squashfs-tools + - name: Check out repository code + uses: actions/checkout@v2 + + - name: Install rust toolchain + uses: actions-rs/toolchain@v1 + with: + profile: minimal + toolchain: stable + override: true + components: rustfmt, clippy - uses: Swatinem/rust-cache@v1 - name: Build all binaries with coconut enabled