forked from factor/factor
-
Notifications
You must be signed in to change notification settings - Fork 0
54 lines (49 loc) · 1.53 KB
/
build.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
48
49
50
51
52
53
54
name: Build
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
permissions:
contents: read
jobs:
build-linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: bootstrap
run: ./build.sh net-bootstrap
- name: load-all
run: './factor -e="USING: memory namespaces parser.notes vocabs.hierarchy ; parser-quiet? off load-all save"'
- name: test
run: './factor -run=tools.test resource:core'
- name: help-lint
run: './factor -run=help.lint resource:core resource:basis resource:extra'
build-macos:
runs-on: macos-11
steps:
- uses: actions/checkout@v3
- name: build
run: arch -x86_64 ./build.sh net-bootstrap
- name: load-all
run: './factor -e="USING: memory namespaces parser.notes vocabs.hierarchy ; parser-quiet? off load-all save"'
- name: test
run: './factor -run=tools.test resource:core'
- name: help-lint
run: './factor -run=help.lint resource:core resource:basis resource:extra'
build-windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- uses: ilammy/msvc-dev-cmd@v1
- name: build
shell: cmd
run: build.cmd net-bootstrap
- name: load-all
shell: cmd
run: 'factor -e="USING: memory namespaces parser.notes vocabs.hierarchy ; parser-quiet? off load-all save"'
- name: test
shell: cmd
run: 'factor -run=tools.test resource:core'
- name: help-lint
run: './factor -run=help.lint resource:core resource:basis resource:extra'