Skip to content

Commit

Permalink
more ci work
Browse files Browse the repository at this point in the history
  • Loading branch information
brettwebst committed Jul 27, 2024
1 parent 1bf3d80 commit 339682f
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/macos-ci.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# This workflow will build a .NET project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-net

name: Build and Test
name: MacOS Build and Test
on:
push:
branches: [ "master" ]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,24 +1,18 @@
# This workflow will build a .NET project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-net

name: Build and Test
name: Ubuntu Build and Test
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]

jobs:
build_matrix:
strategy:
matrix:
os:
- ubuntu-latest
- windows-latest
build:
runs-on: ubuntu-latest

runs-on: ${{matrix.os}}

steps:
steps:
- uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v4
Expand Down
26 changes: 26 additions & 0 deletions .github/workflows/windows-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# This workflow will build a .NET project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-net

name: Windows Build and Test
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]

jobs:
build:
runs-on: windows-latest

steps:
- uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.0.x
- name: Restore dependencies
run: dotnet restore
- name: Build
run: dotnet build --no-restore
- name: Test
run: dotnet test --no-build --verbosity normal

0 comments on commit 339682f

Please sign in to comment.