aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/validate.yml48
1 files changed, 24 insertions, 24 deletions
diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml
index a12878e87..e410a831c 100644
--- a/.github/workflows/validate.yml
+++ b/.github/workflows/validate.yml
@@ -73,13 +73,6 @@ jobs:
.\vcpkg.exe integrate install
cd ..
-# - name: Cache vcpkg
-# uses: actions/cache@v2
-# with:
-# path: |
-# ${{ github.workspace }}\.vcpkg\installed
-# key: ${{ runner.os }}-validate-${{ matrix.config }}-${{env.VCPKG_VERSION}}-${{ hashFiles('xmake.lua') }}-${{ matrix.arch }}-v1
-
- name: Config
run: |
xmake config -v -y -m ${{ matrix.config }} --arch=${{ matrix.arch }}
@@ -89,10 +82,17 @@ jobs:
- name: Build & Test
if: ${{ matrix.config == 'debug' }}
run: |
- xmake test -v -y
+ xmake test -v -y --junit
env:
VCPKG_ROOT: ${{ github.workspace }}/.vcpkg
+ - name: Upload report
+ if: ${{ (failure() || success()) && (matrix.config == 'debug') }}
+ uses: actions/upload-artifact@v3
+ with:
+ name: reports-win64
+ path: build/reports/*.xml
+
- name: Bundle
if: ${{ matrix.config == 'release' }}
run: |
@@ -144,13 +144,6 @@ jobs:
./bootstrap-vcpkg.sh
cd ..
-# - name: Cache vcpkg
-# uses: actions/cache@v2
-# with:
-# path: |
-# ${{ github.workspace }}/.vcpkg/installed
-# key: ${{ runner.os }}-validate-${{ matrix.config }}-${{env.VCPKG_VERSION}}-${{ hashFiles('xmake.lua') }}-${{ matrix.arch }}-v1
-
- name: Config
run: |
xmake config -v -y -m ${{ matrix.config }} --arch=${{ matrix.arch }}
@@ -160,10 +153,17 @@ jobs:
- name: Build & Test
if: ${{ matrix.config == 'debug' }}
run: |
- xmake test -v -y
+ xmake test -v -y --junit
env:
VCPKG_ROOT: ${{ github.workspace }}/.vcpkg
+ - name: Upload report
+ if: ${{ (failure() || success()) && (matrix.config == 'debug') }}
+ uses: actions/upload-artifact@v3
+ with:
+ name: reports-linux
+ path: build/reports/*.xml
+
- name: Bundle
if: ${{ matrix.config == 'release' }}
run: |
@@ -209,13 +209,6 @@ jobs:
./bootstrap-vcpkg.sh
cd ..
-# - name: Cache vcpkg
-# uses: actions/cache@v2
-# with:
-# path: |
-# ${{ github.workspace }}/.vcpkg/installed
-# key: ${{ runner.os }}-validate-${{ matrix.config }}-${{env.VCPKG_VERSION}}-${{ hashFiles('xmake.lua') }}-${{ matrix.arch }}-v1
-
- name: Config
run: |
xmake config -v -y -m ${{ matrix.config }} --arch=${{ matrix.arch }}
@@ -225,10 +218,17 @@ jobs:
- name: Build & Test
if: ${{ matrix.config == 'debug' }}
run: |
- xmake test -v -y
+ xmake test -v -y --junit
env:
VCPKG_ROOT: ${{ github.workspace }}/.vcpkg
+ - name: Upload report
+ if: ${{ (failure() || success()) && (matrix.config == 'debug') }}
+ uses: actions/upload-artifact@v3
+ with:
+ name: reports-macos
+ path: build/reports/*.xml
+
- name: Bundle
if: ${{ matrix.config == 'release' }}
run: |