Skip to content

Commit

Permalink
add test-on-mac job to actions
Browse files Browse the repository at this point in the history
  • Loading branch information
goojal committed Feb 8, 2024
1 parent 023ba87 commit ba45f15
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,3 +77,29 @@ jobs:

- name: Run Tests
run: dotnet test engine/Decompiler.Tests -c Release

test-on-mac:

runs-on: macos-latest

steps:
- uses: actions/checkout@v3

- name: Restore SNK
uses: RollyPeres/base64-to-path@v1
with:
filePath: ${{ github.workspace }}/common/CDKey.snk
encodedString: ${{ secrets.CD_SNK }}

- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: |
6.x
7.x
- name: Build Tests Project
run: dotnet build engine/Decompiler.Tests/Decompiler.Tests.csproj -c Release

- name: Run Tests
run: dotnet test engine/Decompiler.Tests -c Release

0 comments on commit ba45f15

Please sign in to comment.