Update coverage.yml
This commit is contained in:
parent
aba548f4e5
commit
922b07c306
|
|
@ -19,11 +19,12 @@ jobs:
|
||||||
build:
|
build:
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
|
config:
|
||||||
- { name: "Windows x64", os: windows-latest, arch: x64 }
|
- { name: "Windows x64", os: windows-latest, arch: x64 }
|
||||||
- { name: "Ubuntu 20.04 x86_64", os: ubuntu-20.04, arch: x86_64 }
|
- { name: "Ubuntu 20.04 x86_64", os: ubuntu-latest, arch: x86_64 }
|
||||||
|
|
||||||
name: ${{ matrix.name }}
|
name: ${{ matrix.config.name }}
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.config.os }}
|
||||||
if: "!contains(github.event.head_commit.message, 'coverage skip')"
|
if: "!contains(github.event.head_commit.message, 'coverage skip')"
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
|
@ -66,11 +67,11 @@ jobs:
|
||||||
uses: actions/cache@v3
|
uses: actions/cache@v3
|
||||||
with:
|
with:
|
||||||
path: ${{ env.XMAKE_GLOBALDIR }}/.xmake/packages
|
path: ${{ env.XMAKE_GLOBALDIR }}/.xmake/packages
|
||||||
key: ${{ matrix.os }}-${{ matrix.arch }}-coverage-${{ steps.dep_hash.outputs.hash }}-r4
|
key: ${{ matrix.config.os }}-${{ matrix.config.arch }}-coverage-${{ steps.dep_hash.outputs.hash }}-r4
|
||||||
|
|
||||||
# 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 config --shadernodes=y --tests=y --unitybuild=y --arch=${{ matrix.arch }} --mode=coverage --yes
|
run: xmake config --shadernodes=y --tests=y --unitybuild=y --arch=${{ matrix.config.arch }} --mode=coverage --yes
|
||||||
|
|
||||||
# Build the engine
|
# Build the engine
|
||||||
- name: Build Nazara
|
- name: Build Nazara
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue