diff --git a/.github/workflows/xmake.yml b/.github/workflows/xmake.yml index 623f67cd..85d01128 100644 --- a/.github/workflows/xmake.yml +++ b/.github/workflows/xmake.yml @@ -34,10 +34,10 @@ jobs: - name: Setup xmake uses: xmake-io/github-action-setup-xmake@v1 with: - xmake-version: 3.0.0 + xmake-version: 3.0.4 actions-cache-folder: ".xmake-cache" actions-cache-key: ${{ matrix.os }} - package-cache: false + package-cache: true package-cache-key: ${{ matrix.os }} build-cache: true build-cache-key: ${{ matrix.os }}-${{ matrix.build_type }} @@ -86,10 +86,10 @@ jobs: - name: Setup xmake uses: xmake-io/github-action-setup-xmake@v1 with: - xmake-version: 3.0.0 + xmake-version: 3.0.4 actions-cache-folder: ".xmake-cache" actions-cache-key: ${{ matrix.os }} - package-cache: false + package-cache: true package-cache-key: ${{ matrix.os }} build-cache: true build-cache-key: ${{ matrix.os }}-${{ matrix.build_type }} @@ -108,6 +108,10 @@ jobs: - name: Run tests run: xmake test --verbose + # Workaround `no space left on device` + - name: Remove llvm package + run: rm -rf /home/runner/.xmake/packages/c/clice-llvm + macos: strategy: matrix: @@ -127,10 +131,10 @@ jobs: - name: Setup xmake uses: xmake-io/github-action-setup-xmake@v1 with: - xmake-version: 3.0.0 + xmake-version: 3.0.4 actions-cache-folder: ".xmake-cache" actions-cache-key: ${{ matrix.os }} - package-cache: false + package-cache: true package-cache-key: ${{ matrix.os }} build-cache: true build-cache-key: ${{ matrix.os }}-${{ matrix.build_type }}