Skip to content

Commit

Permalink
added dotnet-macos.yml file for GitHub actions on macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
bezzad committed Sep 20, 2024
1 parent c735ac2 commit 2d72acb
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/dotnet-macos.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Ubuntu x64

on: [ push ]

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
build:
runs-on: macos-latest
steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Setup .NET Core 8.0
uses: actions/setup-dotnet@v3
with:
dotnet-version: 8.0.x

- name: Restore dependencies
run: dotnet restore ./src

- name: Build solution
run: dotnet build -c Release ./src --verbosity minimal

- name: Run tests and collect coverage
run: dotnet test -c Release ./src --verbosity normal --no-build --no-restore
1 change: 1 addition & 0 deletions src/Downloader.sln
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution items", "Solution
..\codecov.yml = ..\codecov.yml
..\.github\workflows\dotnet-ubuntu.yml = ..\.github\workflows\dotnet-ubuntu.yml
..\.github\workflows\dotnet-windows.yml = ..\.github\workflows\dotnet-windows.yml
..\.github\workflows\dotnet-windows.yml = ..\.github\workflows\dotnet-macos.yml
..\LICENSE = ..\LICENSE
..\README.md = ..\README.md
..\sample.gif = ..\sample.gif
Expand Down

0 comments on commit 2d72acb

Please sign in to comment.