]> gitweb.factorcode.org Git - factor.git/blob - .github/workflows/build-test-core.yml
github: test and 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:
11     runs-on: ubuntu-latest
12     steps:
13     - uses: actions/checkout@v2
14     - name: bootstrap
15       run: ./build.sh net-bootstrap
16     - name: load
17       run: "./factor -e='USING: memory namespaces parser.notes vocabs.hierarchy ; parser-quiet? off \"resource:basis\" \"\" load-from-root save'"
18     - name: configure
19       run: "./factor -e='USING: memory namespaces tools.test ; f long-unit-tests-enabled? set-global save'"
20     - name: test
21       run: "./factor -run=tools.test resource:core"
22     - name: help-lint
23       run: "./factor -run=help.lint resource:core resource:basis"
24
25   build-macos:
26     runs-on: macos-11
27     steps:
28     - uses: actions/checkout@v2
29     - name: build
30       run: arch -x86_64 ./build.sh net-bootstrap
31     - name: load
32       run: "./factor -e='USING: memory namespaces parser.notes vocabs.hierarchy ; parser-quiet? off \"resource:basis\" \"\" load-from-root save'"
33     - name: configure
34       run: "./factor -e='USING: memory namespaces tools.test ; f long-unit-tests-enabled? set-global save'"
35     - name: test
36       run: "./factor -run=tools.test resource:core"
37     - name: help-lint
38       run: "./factor -run=help.lint resource:core resource:basis"