CI: Authorize asset downloading
This commit is contained in:
parent
5507b98f2f
commit
22fe70aca0
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -72,7 +72,7 @@ jobs:
|
|||
|
||||
# Build the engine
|
||||
- name: Build Nazara
|
||||
run: xmake
|
||||
run: xmake --yes
|
||||
|
||||
# Run unit tests
|
||||
- name: Run unit tests
|
||||
|
|
|
|||
|
|
@ -66,7 +66,7 @@ jobs:
|
|||
|
||||
# Build the engine
|
||||
- name: Build Nazara
|
||||
run: xmake -v
|
||||
run: xmake --yes
|
||||
|
||||
# Run unit tests
|
||||
- name: Run unit tests
|
||||
|
|
|
|||
|
|
@ -96,7 +96,7 @@ jobs:
|
|||
|
||||
# Build the engine
|
||||
- name: Build Nazara
|
||||
run: xmake
|
||||
run: xmake --yes
|
||||
|
||||
# Run unit tests
|
||||
- name: Run unit tests
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue