forked from racket/racket
-
Notifications
You must be signed in to change notification settings - Fork 0
48 lines (42 loc) · 1.12 KB
/
scribble_build-guide.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
40
41
42
43
44
45
46
47
name: Scribble Racket Build Guide
on:
push:
paths:
- "build.md"
- ".github/workflows/scribble_build-guide.yml"
- "pkgs/racket-build-guide/**"
pull_request:
paths:
- "build.md"
- ".github/workflows/scribble_build-guide.yml"
- "pkgs/racket-build-guide/**"
jobs:
scribble:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: Bogdanp/[email protected]
with:
architecture: 'x64'
distribution: 'full'
variant: 'CS'
version: 'current'
- name: Scribble Build Guide
run: raco pkg install --auto -j $(nproc) pkgs/racket-build-guide
generation-check:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: Bogdanp/[email protected]
with:
architecture: 'x64'
distribution: 'full'
variant: 'CS'
version: 'current'
- name: Move original build.md
run: mv build.md build.md.orig
- name: Generate new build.md
working-directory: pkgs/racket-build-guide
run: make
- name: Check differences
run: diff build.md build.md.orig