Skip to content

tools.scaffold: simplify read-unit-test #368

tools.scaffold: simplify read-unit-test

tools.scaffold: simplify read-unit-test #368

Workflow file for this run

name: Build
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
permissions:
contents: read
jobs:
build-linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- 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'
build-macos:
runs-on: macos-11
steps:
- uses: actions/checkout@v2
- 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'
build-windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- 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'