diff options
author | Alexey 'Cluster' Avdyukhin <clusterrr@clusterrr.com> | 2022-10-13 18:52:55 +0300 |
---|---|---|
committer | Alexey 'Cluster' Avdyukhin <clusterrr@clusterrr.com> | 2022-10-13 18:52:55 +0300 |
commit | 230bb7bb8561bafe5f650dece104a1108384ca51 (patch) | |
tree | 8016e2f033b38755a81bcb0f666e8ecf3ed59315 /.github | |
parent | 7aa89f0f17f0e508948d33fa89805f3fcebb4526 (diff) |
Workflow
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/build-test.yml | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/.github/workflows/build-test.yml b/.github/workflows/build-test.yml index f6e2edd..d195082 100644 --- a/.github/workflows/build-test.yml +++ b/.github/workflows/build-test.yml @@ -29,6 +29,7 @@ jobs: TESTS_PATH: ./Tests OUTPUT_DIR: output CONFIGURATION: Release + TESTS_CONFIGURATION: Debug OUTPUT_SUBDIR: ${{ matrix.os }}-${{ matrix.arch }}-${{ matrix.sc }} steps: - name: Checkout @@ -48,7 +49,9 @@ jobs: (matrix.host == 'ubuntu-latest' && matrix.os == 'linux' && matrix.arch != 'arm') || (matrix.host == 'macos-latest' && matrix.os == 'osx' && matrix.arch != 'arm') || (matrix.host == 'windows-latest' && matrix.os == 'win' && matrix.arch != 'arm') - run: dotnet test ${{ env.TESTS_PATH }} -c ${{ env.CONFIGURATION }} -r ${{ matrix.os }}-${{ matrix.arch }} -p:PublishSingleFile=true $SC_OPS -p:IncludeAllContentForSelfExtract=true + env: + SC_OPS: ${{ matrix.sc == 'self-contained' && '--self-contained true -p:PublishTrimmed=True' || '--no-self-contained' }} + run: dotnet test ${{ env.TESTS_PATH }} -c ${{ env.TESTS_CONFIGURATION }} -r ${{ matrix.os }}-${{ matrix.arch }} -p:PublishSingleFile=true $SC_OPS -p:IncludeAllContentForSelfExtract=true - name: Upload artifact if: | (matrix.host == 'ubuntu-latest' && matrix.os == 'linux') |