Skip to content

Commit

Permalink
GitHubCI: add dotnet-only macOS build
Browse files Browse the repository at this point in the history
In the same way we hacked/faked the uninstallation of dotnet
in "mono-only" build jobs, we hack the uninstallation of mono
now in MacOS (a platform that bundles it by default).
  • Loading branch information
knocte committed Aug 12, 2023
1 parent 75f7f39 commit b71b75f
Showing 1 changed file with 26 additions and 2 deletions.
28 changes: 26 additions & 2 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
find . -type f -name "*.fsx" | xargs -t -I {} dotnet fsxc {}
macOS--mono:
macOS--mono-only:
runs-on: macOS-latest
steps:
- uses: actions/checkout@v1
Expand All @@ -64,6 +64,29 @@ jobs:
- name: integration tests
run: make update-servers

macOS--dotnet-only:
runs-on: macOS-latest
steps:
- uses: actions/checkout@v1
with:
submodules: false
- name: HACK to emulate mono uninstall
run: sudo rm -f `which mono` && sudo rm -rf `which msbuild`
- name: configure
run: ./configure.sh
- name: build in DEBUG mode
run: make
- name: sanity check
run: make sanitycheck
- name: unit tests
run: make check
- name: build in STRICT mode
run: git clean -fdx && ./configure.sh && make strict
- name: build in RELEASE mode
run: git clean -fdx && ./configure.sh && make release
- name: integration tests
run: make update-servers

windows--dotnet6:
runs-on: windows-latest
steps:
Expand Down Expand Up @@ -519,7 +542,8 @@ jobs:
- windows--dotnet6
- windows--legacyFramework
- macOS--dotnet6-and-mono
- macOS--mono
- macOS--mono-only
- macOS--dotnet-only

steps:
- uses: actions/checkout@v1
Expand Down

0 comments on commit b71b75f

Please sign in to comment.