]> gitweb.factorcode.org Git - factor.git/blob - .github/workflows/build-test-core.yml
github: change direction a bit -- load-all, test-core, help-lint.
[factor.git] / .github / workflows / build-test-core.yml
1 name: C/C++ CI
2
3 on:
4   push:
5     branches: [ master ]
6   pull_request:
7     branches: [ master ]
8
9 jobs:
10   build-linux:
11     runs-on: ubuntu-latest
12     steps:
13     - uses: actions/checkout@v2
14     - name: bootstrap
15       run: ./build.sh net-bootstrap
16     - name: load-all
17       run: './factor -e="USING: memory namespaces parser.notes vocabs.hierarchy ; parser-quiet? off load-all save"'
18     - name: test
19       run: './factor -run=tools.test resource:core'
20     - name: help-lint
21       run: './factor -run=help.lint resource:core resource:basis'
22
23   build-macos:
24     runs-on: macos-11
25     steps:
26     - uses: actions/checkout@v2
27     - name: build
28       run: arch -x86_64 ./build.sh net-bootstrap
29     - name: load-all
30       run: './factor -e="USING: memory namespaces parser.notes vocabs.hierarchy ; parser-quiet? off load-all save"'
31     - name: test
32       run: './factor -run=tools.test resource:core'
33     - name: help-lint
34       run: './factor -run=help.lint resource:core resource:basis'
35
36   build-windows:
37     runs-on: windows-latest
38     steps:
39     - uses: actions/checkout@v2
40     - name: build
41       shell: cmd
42       run: |
43         call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvars64.bat"
44         build.cmd net-bootstrap
45     - name: load-all
46       shell: cmd
47       run: 'factor -e="USING: memory namespaces parser.notes vocabs.hierarchy ; parser-quiet? off load-all save"'
48     - name: test
49       shell: cmd
50       run: 'factor -run=tools.test resource:core'
51     - name: help-lint
52       shell: cmd
53       run: 'factor -run=help.lint resource:core resource:basis'