-
-
Notifications
You must be signed in to change notification settings - Fork 17
38 lines (36 loc) · 1.13 KB
/
main.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
name: Main
on: push
jobs:
main:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-latest, macos-14, ubuntu-latest, windows-latest]
fail-fast: false
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup NodeJS
uses: actions/setup-node@v4
with:
node-version: '22.x'
- name: Setup dotnet
uses: actions/setup-dotnet@v4
with:
dotnet-version: '8.0.x' # SDK Version to use; x will use the latest version of the 8.0 channel
- name: Versions
run: node -v && npm -v && dotnet --version && node -p process.platform && node -p process.arch
- if: runner.os == 'macOS'
name: Remove Mono from macOS
run: |
sudo rm -rf /Library/Frameworks/Mono.framework
sudo pkgutil --forget com.xamarin.mono-MDK.pkg
sudo rm /etc/paths.d/mono-commands
- name: Install dependencies
run: npm i
- name: Run Dotnet Build
run: dotnet build src/QuickStart.sln
- name: Run Core
run: npm start
- name: Run Standard
run: npm run start:standard