-
Notifications
You must be signed in to change notification settings - Fork 3
39 lines (37 loc) · 996 Bytes
/
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
39
name: CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
linux:
runs-on: ubuntu-latest
env:
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: 1
DOTNET_CLI_TELEMETRY_OPTOUT: 1
DOTNET_NOLOGO: 1
PAKET_SKIP_RESTORE_TARGETS: true
steps:
- uses: actions/checkout@v2
- name: Restore packages
run: ./paket.sh restore
- name: Compile build script
run: dotnet build src/BlackFox.FoxSharp.Build/BlackFox.FoxSharp.Build.fsproj
- name: Build
run: ./build.sh CI
windows:
runs-on: windows-latest
env:
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: 1
DOTNET_CLI_TELEMETRY_OPTOUT: 1
DOTNET_NOLOGO: 1
PAKET_SKIP_RESTORE_TARGETS: true
steps:
- uses: actions/checkout@v2
- name: Restore packages
run: ./paket.cmd restore
- name: Compile build script
run: dotnet build src/BlackFox.FoxSharp.Build/BlackFox.FoxSharp.Build.fsproj
- name: Build
run: ./build.cmd CI