Welcome to mirror list, hosted at ThFree Co, Russian Federation.

NesTiler.git/NesTiler.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey 'Cluster' Avdyukhin <clusterrr@clusterrr.com>2023-09-19 22:45:01 +0300
committerAlexey 'Cluster' Avdyukhin <clusterrr@clusterrr.com>2023-09-19 22:45:01 +0300
commit64d069489fe59e5396e5d39495cf87b6b9d67d74 (patch)
tree98c74f5fc7a42b26a86892f9052a3485d2112cc3
parent9eda09e20904bb6209e95b6a70440307737da8b7 (diff)
Pipeline
-rw-r--r--.github/workflows/build-test.yml41
1 files changed, 21 insertions, 20 deletions
diff --git a/.github/workflows/build-test.yml b/.github/workflows/build-test.yml
index 91d9b15..296e210 100644
--- a/.github/workflows/build-test.yml
+++ b/.github/workflows/build-test.yml
@@ -14,7 +14,28 @@ permissions:
id-token: write
jobs:
+ tests:
+ strategy:
+ matrix:
+ host: [windows-latest, ubuntu-latest, macos-latest]
+ runs-on: ${{ matrix.host }}
+ env:
+ TESTS_PATH: ./Tests
+ TESTS_CONFIGURATION: Debug
+ steps:
+ - name: Fix line endings
+ run: git config --global core.autocrlf false
+ - name: Checkout
+ uses: actions/checkout@v3
+ - name: Setup .NET
+ uses: actions/setup-dotnet@v2
+ with:
+ dotnet-version: 6.0.x
+ - name: Tests
+ run: dotnet test ${{ env.TESTS_PATH }} -c ${{ env.TESTS_CONFIGURATION }}
+
build:
+ needs: [tests]
strategy:
matrix:
host: [ubuntu-latest]
@@ -61,26 +82,6 @@ jobs:
name: ${{ env.OUTPUT_SUBDIR }}
path: ${{ env.OUTPUT_FILE }}
- tests:
- strategy:
- matrix:
- host: [windows-latest, ubuntu-latest, macos-latest]
- runs-on: ${{ matrix.host }}
- env:
- TESTS_PATH: ./Tests
- TESTS_CONFIGURATION: Debug
- steps:
- - name: Fix line endings
- run: git config --global core.autocrlf false
- - name: Checkout
- uses: actions/checkout@v3
- - name: Setup .NET
- uses: actions/setup-dotnet@v2
- with:
- dotnet-version: 6.0.x
- - name: Tests
- run: dotnet test ${{ env.TESTS_PATH }} -c ${{ env.TESTS_CONFIGURATION }}
-
upload-to-pages:
needs: [build, tests]
runs-on: ubuntu-latest