forked from factor/factor
-
Notifications
You must be signed in to change notification settings - Fork 0
61 lines (56 loc) · 2.03 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
55
56
57
58
59
60
61
name: Build
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
permissions:
contents: read
jobs:
build-linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: bootstrap
run: ./build.sh net-bootstrap
- name: load-all
run: './factor -e="USING: compiler.errors memory namespaces parser.notes syntax vocabs.hierarchy ; parser-quiet? off auto-use? off load-all save compiler-errors get assoc-empty? 0 1 ? exit"'
- 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-12
steps:
- uses: actions/checkout@v4
- name: build
run: arch -x86_64 ./build.sh net-bootstrap
- name: load-all
run: './factor -e="USING: compiler.errors memory namespaces parser.notes syntax vocabs.hierarchy ; parser-quiet? off auto-use? off load-all save compiler-errors get assoc-empty? 0 1 ? exit"'
- 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@v4
- uses: ilammy/msvc-dev-cmd@v1
- name: build
shell: cmd
run: build.cmd compile
- name: build-report
run: 'Foreach ($f in Get-ChildItem *.exe,*.com,*.dll) { "{0} {1}" -f (Split-Path -Path $f -Leaf),$f.Length }'
- name: bootstrap
run: |
.\build.cmd update-boot-image
.\build.cmd bootstrap
- name: load-all
shell: cmd
run: 'factor -e="USING: compiler.errors memory namespaces parser.notes syntax vocabs.hierarchy ; parser-quiet? off auto-use? off load-all save compiler-errors get assoc-empty? 0 1 ? exit"'
- name: test
shell: cmd
run: 'factor -run=tools.test resource:core'
- name: help-lint
shell: cmd
run: 'factor -run=help.lint resource:core resource:basis resource:extra'