diff --git a/.github/workflows/vulkan-test-windows.yml b/.github/workflows/vulkan-test-windows.yml index 7f8d67a..5880001 100644 --- a/.github/workflows/vulkan-test-windows.yml +++ b/.github/workflows/vulkan-test-windows.yml @@ -23,9 +23,8 @@ jobs: fail-fast: false matrix: os: [windows-latest] - arch: [x86_64] - confs: - - { mode: debug, archive: yes } + arch: [x64] + mode: [debug, release] runs-on: ${{ matrix.os }} if: ${{ !contains(github.event.head_commit.message, 'ci skip') }} @@ -42,7 +41,7 @@ jobs: # Force xmake to a specific folder (for cache) - name: Set xmake env - run: echo "XMAKE_GLOBALDIR=${{ runner.workspace }}/xmake-global" >> $GITHUB_ENV + run: echo "XMAKE_GLOBALDIR=${{ runner.workspace }}/xmake-global" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append # Install xmake - name: Setup xmake @@ -58,15 +57,15 @@ jobs: # Fetch xmake dephash - name: Retrieve dependencies hash id: dep_hash - run: echo "hash=$(xmake l utils.ci.packageskey)" >> $GITHUB_OUTPUT + run: echo "hash=$(xmake l utils.ci.packageskey)" | Out-File -FilePath $env:GITHUB_OUTPUT -Encoding utf8 -Append # Cache xmake dependencies - name: Restore cached xmake dependencies id: restore-depcache uses: actions/cache/restore@v4 with: - path: ${{ env.XMAKE_GLOBALDIR }}/.xmake/packages - key: Linux-${{ matrix.arch }}-${{ matrix.confs.mode }}${{ matrix.confs.cache_key }}-${{ steps.dep_hash.outputs.hash }}-W${{ steps.cache_key.outputs.key }} + path: ${{ env.XMAKE_GLOBALDIR }}\.xmake\packages + key: MSVC-${{ matrix.arch }}-${{ matrix.mode }}-${{ steps.dep_hash.outputs.hash }}-W${{ steps.cache_key.outputs.key }} # Setup compilation mode and install project dependencies - name: Configure xmake and install dependencies