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 1832f6b
Showing 1 changed file with 24 additions and 1 deletion.
25 changes: 24 additions & 1 deletion .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

0 comments on commit 1832f6b

Please sign in to comment.