Skip to content

Commit

Permalink
ci: windows build
Browse files Browse the repository at this point in the history
  • Loading branch information
phnx47-bot committed Jun 15, 2024
1 parent 022086f commit 442656b
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/settings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ branches:
required_pull_request_reviews: null
required_status_checks:
strict: false
contexts: ['Build & Test']
contexts: ['Build & Test (Windows)', 'Build, Test & Pack (Linux)']
enforce_admins: false
required_linear_history: false
restrictions: null
18 changes: 14 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,18 @@ on:
workflow_dispatch:

jobs:
build:
name: Build & Test
build-windows:
name: Build & Test (Windows)
runs-on: windows-2022
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Run tests
run: dotnet test -c Release -p:CollectCoverage=false

build-linux:
name: Build, Test & Pack (Linux)
runs-on: ubuntu-22.04
steps:
- name: Checkout
Expand Down Expand Up @@ -73,7 +83,7 @@ jobs:

github:
name: Deploy to GitHub
needs: [build]
needs: [build-windows, build-linux]
if: github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v')
runs-on: ubuntu-22.04
steps:
Expand All @@ -86,7 +96,7 @@ jobs:

nuget:
name: Deploy to NuGet
needs: [build]
needs: [build-windows, build-linux]
if: startsWith(github.ref, 'refs/tags/v')
runs-on: ubuntu-22.04
steps:
Expand Down

0 comments on commit 442656b

Please sign in to comment.