diff options
| -rw-r--r-- | .github/workflows/desktop-e2e.yml | 5 | ||||
| -rwxr-xr-x | test/scripts/ci-runtests.sh | 6 |
2 files changed, 11 insertions, 0 deletions
diff --git a/.github/workflows/desktop-e2e.yml b/.github/workflows/desktop-e2e.yml index d386078d4e..1a1abdcbb0 100644 --- a/.github/workflows/desktop-e2e.yml +++ b/.github/workflows/desktop-e2e.yml @@ -270,6 +270,11 @@ jobs: node-version-file: gui/package.json cache: 'npm' cache-dependency-path: gui/package-lock.json + - name: Install Rust + uses: actions-rs/toolchain@v1.0.6 + with: + toolchain: stable + default: true - name: Build app run: ./build.sh - name: Build test executable diff --git a/test/scripts/ci-runtests.sh b/test/scripts/ci-runtests.sh index 4aeab28271..88a8944164 100755 --- a/test/scripts/ci-runtests.sh +++ b/test/scripts/ci-runtests.sh @@ -13,6 +13,12 @@ fi TEST_OS=$1 +if [[ "$(uname -s)" == "Darwin" ]]; then + # NOTE: We only do this on macOS since we use containers otherwise + echo "Updating Rust toolchain" + rustup update +fi + # shellcheck source=test/scripts/test-utils.sh source "test-utils.sh" |
