CI: Authorize asset downloading

This commit is contained in:
SirLynix 2022-05-27 08:35:29 +02:00
parent 5507b98f2f
commit 22fe70aca0
5 changed files with 10 additions and 10 deletions

View File

@ -93,7 +93,7 @@ jobs:
# Build the engine # Build the engine
- name: Build Nazara - name: Build Nazara
run: xmake run: xmake --yes
# Run unit tests to generate coverage reports # Run unit tests to generate coverage reports
- name: Run unit tests and generate coverage output (Linux) - name: Run unit tests and generate coverage output (Linux)

View File

@ -72,7 +72,7 @@ jobs:
# Build the engine # Build the engine
- name: Build Nazara - name: Build Nazara
run: xmake run: xmake --yes
# Run unit tests # Run unit tests
- name: Run unit tests - name: Run unit tests

View File

@ -66,7 +66,7 @@ jobs:
# Build the engine # Build the engine
- name: Build Nazara - name: Build Nazara
run: xmake -v run: xmake --yes
# Run unit tests # Run unit tests
- name: Run unit tests - name: Run unit tests

View File

@ -96,7 +96,7 @@ jobs:
# Build the engine # Build the engine
- name: Build Nazara - name: Build Nazara
run: xmake run: xmake --yes
# Run unit tests # Run unit tests
- name: Run unit tests - name: Run unit tests

View File

@ -46,12 +46,12 @@ jobs:
# Update xmake repository (in order to have the file that will be cached) # Update xmake repository (in order to have the file that will be cached)
- name: Update xmake repository - name: Update xmake repository
run: xmake.exe repo --update run: xmake repo --update
# Fetch xmake dephash # Fetch xmake dephash
- name: Retrieve dependencies hash - name: Retrieve dependencies hash
id: dep_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 # Cache xmake dependencies
- name: Retrieve cached xmake dependencies - name: Retrieve cached xmake dependencies
@ -62,20 +62,20 @@ jobs:
# Setup compilation mode and install project dependencies # Setup compilation mode and install project dependencies
- name: Configure xmake and install 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 # Build the engine
- name: Build Nazara - name: Build Nazara
run: xmake.exe run: xmake --yes
# Run unit tests # Run unit tests
- name: Run unit tests - name: Run unit tests
if: matrix.mode != 'releasedbg' if: matrix.mode != 'releasedbg'
run: xmake.exe run NazaraUnitTests run: xmake run NazaraUnitTests
# Install the result files # Install the result files
- name: Install Nazara - name: Install Nazara
run: xmake.exe install -vo package run: xmake install -vo package
# Upload artifacts # Upload artifacts
- uses: actions/upload-artifact@v2 - uses: actions/upload-artifact@v2