Update msys2-build.yml
This commit is contained in:
parent
ea25129f9c
commit
008acf0422
|
|
@ -57,12 +57,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
|
||||||
|
|
@ -73,15 +73,15 @@ 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 --arch=${{ matrix.arch }} --mode=${{ matrix.mode }} --yes --verbose
|
run: xmake config --arch=${{ matrix.arch }} --mode=${{ matrix.mode }} --yes --verbose
|
||||||
|
|
||||||
# Build the engine
|
# Build the engine
|
||||||
- name: Build Nazara
|
- name: Build Nazara
|
||||||
run: xmake.exe
|
run: xmake
|
||||||
|
|
||||||
# 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
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue