diff options
| -rw-r--r-- | .github/workflows/on_prem_windows.yml | 58 |
1 files changed, 2 insertions, 56 deletions
diff --git a/.github/workflows/on_prem_windows.yml b/.github/workflows/on_prem_windows.yml index dcc27c667..b60999c74 100644 --- a/.github/workflows/on_prem_windows.yml +++ b/.github/workflows/on_prem_windows.yml @@ -50,62 +50,8 @@ jobs: env: VCPKG_ROOT: ${{ github.workspace }}/.vcpkg - - name: Build + - name: Build & Test run: | - xmake build -v -y + xmake test -v -y env: VCPKG_ROOT: ${{ github.workspace }}/.vcpkg - - - name: Create Archive - run: | - cd .\build\windows\${{ matrix.arch }}\${{ matrix.config }} - 7z a -r ..\..\..\..\windows-${{ matrix.arch }}-${{ matrix.config }}.zip * - cd ..\..\..\.. - - - name: Upload - uses: actions/upload-artifact@v3 - with: - name: windows-${{ matrix.arch }}-${{ matrix.config }} - path: .\windows-${{ matrix.arch }}-${{ matrix.config }}.zip - if-no-files-found: error - - windows-test: - name: Test Windows - runs-on: windows-2022 - needs: windows-build - strategy: - matrix: - config: - - 'debug' - arch: - - 'x64' - test: - - zencore-test - - zenserver - - zenserver-test - - zenstore-test - include: - - test: "zenserver" - args: "test" - - test: "zenserver-test" - args: "--test-case-exclude=websocket.basic" - - steps: - - if: ${{ matrix.test == 'zenserver-test' }} - uses: actions/checkout@v2 - - - name: Download - uses: actions/download-artifact@v3 - with: - name: windows-${{ matrix.arch }}-${{ matrix.config }} - - - name: Extract Archive - run: | - mkdir -p .\build\windows\${{ matrix.arch }}\${{ matrix.config }} - cd .\build\windows\${{ matrix.arch }}\${{ matrix.config }} - 7z x ..\..\..\..\windows-${{ matrix.arch }}-${{ matrix.config }}.zip - cd ..\..\..\.. - - - name: Test ${{matrix.test}} - run: | - .\build\windows\${{ matrix.arch }}\${{ matrix.config }}\${{ matrix.test }}.exe ${{ matrix.args }} |