Skip to content

Commit

Permalink
👷
Browse files Browse the repository at this point in the history
  • Loading branch information
hlaueriksson committed Aug 12, 2024
1 parent 6781de8 commit 6892d7e
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: build

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

jobs:
build:

strategy:
matrix:
platform: [x64, ARM64]

runs-on: windows-latest

steps:

- uses: actions/checkout@v4

- name: Setup dotnet
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.0.x

- name: Restore dependencies
run: dotnet restore

- name: Build
run: dotnet build --no-restore /p:Platform=${{matrix.platform}}

- name: Test
if: ${{matrix.platform == 'x64'}}
run: dotnet test --no-build --verbosity normal /p:Platform=${{matrix.platform}}

0 comments on commit 6892d7e

Please sign in to comment.