Skip to content

Commit 94bc71c

Browse files
committed
ad an on-pr workflow
1 parent 9a1835a commit 94bc71c

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

.github/workflows/pr.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: Release docs
2+
3+
on: [push]
4+
5+
jobs:
6+
build:
7+
8+
strategy:
9+
matrix:
10+
os: [windows-latest]
11+
dotnet: [5.0.400]
12+
runs-on: ${{ matrix.os }}
13+
14+
steps:
15+
- uses: actions/checkout@v2
16+
- name: Setup .NET Core
17+
uses: actions/setup-dotnet@v1
18+
with:
19+
dotnet-version: 5.0.400
20+
- name: Restore tools
21+
run: dotnet tool restore
22+
- name: Restore projects
23+
run: dotnet restore FSharp.Core\FSharp.Core.fsproj
24+
- name: Checkout fsharp master
25+
run: git clone https://github.com/dotnet/fsharp --depth 1 fsharp -b main
26+
- name: Build fsharp master (turn of CI build status)
27+
run: cd fsharp && eng\CIBuild.cmd
28+
- name: Checkout FSharp.Formatting master
29+
run: git clone https://github.com/fsprojects/FSharp.Formatting --depth 1 FSharp.Formatting
30+
- name: Build FSharp.Formatting master
31+
run: cd FSharp.Formatting && .\build -t Build
32+
- name: Run fsdocs
33+
run: FSharp.Formatting\src\FSharp.Formatting.CommandTool\bin\Release\netcoreapp3.1\fsdocs.exe build --sourcefolder fsharp

0 commit comments

Comments
 (0)