From 85c274417e4aab52002b75c04279b915a165c1c9 Mon Sep 17 00:00:00 2001 From: Max Howell Date: Wed, 20 Dec 2023 15:37:18 +0000 Subject: [PATCH] rm build dir before testing in CI --- .github/workflows/ci.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f7af74f3..8b881956 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -49,10 +49,10 @@ jobs: - os: ["self-hosted", "macOS", "ARM64"] name: ² - os: ["self-hosted", "linux", "ARM64"] - name: Lnx·ARM64 + name: '*nix·ARM64' - os: { group: "linux-x86-64" } container: debian:buster-slim - name: Lnx·x64 + name: '*nix64' runs-on: ${{ matrix.platform.os }} container: ${{ matrix.platform.container }} env: @@ -80,6 +80,12 @@ jobs: pkg: ${{ matrix.pkg }} if: steps.build.outputs.pkgspec + # prevent tests passing because the build directory is still there + - name: wipe builds directory + run: | + test -d builds + rm -rf builds + - uses: pkgxdev/brewkit/test@v1 with: pkg: ${{ matrix.pkg }}