From 22fe70aca0ed7fa94507b87934be79edc8c929ac Mon Sep 17 00:00:00 2001 From: SirLynix Date: Fri, 27 May 2022 08:35:29 +0200 Subject: [PATCH] CI: Authorize asset downloading --- .github/workflows/coverage.yml | 2 +- .github/workflows/linux-build.yml | 2 +- .github/workflows/macos-build.yml | 2 +- .github/workflows/msys2-build.yml | 2 +- .github/workflows/windows-build.yml | 12 ++++++------ 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index 616a6fe91..3800e7ee7 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -93,7 +93,7 @@ jobs: # Build the engine - name: Build Nazara - run: xmake + run: xmake --yes # Run unit tests to generate coverage reports - name: Run unit tests and generate coverage output (Linux) diff --git a/.github/workflows/linux-build.yml b/.github/workflows/linux-build.yml index 2c446821b..3768bdbd4 100644 --- a/.github/workflows/linux-build.yml +++ b/.github/workflows/linux-build.yml @@ -72,7 +72,7 @@ jobs: # Build the engine - name: Build Nazara - run: xmake + run: xmake --yes # Run unit tests - name: Run unit tests diff --git a/.github/workflows/macos-build.yml b/.github/workflows/macos-build.yml index 34f18f19d..82baa447c 100644 --- a/.github/workflows/macos-build.yml +++ b/.github/workflows/macos-build.yml @@ -66,7 +66,7 @@ jobs: # Build the engine - name: Build Nazara - run: xmake -v + run: xmake --yes # Run unit tests - name: Run unit tests diff --git a/.github/workflows/msys2-build.yml b/.github/workflows/msys2-build.yml index 9b129f2d6..36efcd117 100644 --- a/.github/workflows/msys2-build.yml +++ b/.github/workflows/msys2-build.yml @@ -96,7 +96,7 @@ jobs: # Build the engine - name: Build Nazara - run: xmake + run: xmake --yes # Run unit tests - name: Run unit tests diff --git a/.github/workflows/windows-build.yml b/.github/workflows/windows-build.yml index df3ec8fbc..7f2a2e5b6 100644 --- a/.github/workflows/windows-build.yml +++ b/.github/workflows/windows-build.yml @@ -46,12 +46,12 @@ jobs: # Update xmake repository (in order to have the file that will be cached) - name: Update xmake repository - run: xmake.exe repo --update + run: xmake repo --update # Fetch xmake dephash - name: Retrieve dependencies hash id: dep_hash - run: echo "::set-output name=hash::$(xmake.exe l utils.ci.packageskey)" + run: echo "::set-output name=hash::$(xmake l utils.ci.packageskey)" # Cache xmake dependencies - name: Retrieve cached xmake dependencies @@ -62,20 +62,20 @@ jobs: # Setup compilation mode and install project dependencies - name: Configure xmake and install dependencies - run: xmake.exe config --ccache=n --shadernodes=y --tests=y --unitybuild=y --arch=${{ matrix.arch }} --mode=${{ matrix.mode }} --yes + run: xmake config --ccache=n --shadernodes=y --tests=y --unitybuild=y --arch=${{ matrix.arch }} --mode=${{ matrix.mode }} --yes # Build the engine - name: Build Nazara - run: xmake.exe + run: xmake --yes # Run unit tests - name: Run unit tests if: matrix.mode != 'releasedbg' - run: xmake.exe run NazaraUnitTests + run: xmake run NazaraUnitTests # Install the result files - name: Install Nazara - run: xmake.exe install -vo package + run: xmake install -vo package # Upload artifacts - uses: actions/upload-artifact@v2