]> gitweb.factorcode.org Git - factor.git/commitdiff
github: test and help-lint.
authorJohn Benediktsson <mrjbq7@gmail.com>
Wed, 15 Dec 2021 19:26:09 +0000 (11:26 -0800)
committerJohn Benediktsson <mrjbq7@gmail.com>
Wed, 15 Dec 2021 19:26:34 +0000 (11:26 -0800)
.github/workflows/build-test-core.yml

index 7418298cb90160187a48a2590168076203a4cbde..ef9fb0a988a1fe5ddac09feca3940e04fa8978f7 100644 (file)
@@ -11,17 +11,28 @@ jobs:
     runs-on: ubuntu-latest
     steps:
     - uses: actions/checkout@v2
-    - name: build
-      run: ./build.sh update
-    - name: test-core
-      run: "./factor -e=\"USE: zealot.factor USE: tools.test USE: tools.test.private [ zealot-core-vocabs test-vocabs ] with-child-options\""
-  
+    - name: bootstrap
+      run: ./build.sh net-bootstrap
+    - name: load
+      run: "./factor -e='USING: memory namespaces parser.notes vocabs.hierarchy ; parser-quiet? off \"resource:basis\" \"\" load-from-root save'"
+    - name: configure
+      run: "./factor -e='USING: memory namespaces tools.test ; f long-unit-tests-enabled? set-global 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 update
-    - name: test-core
-      run: "./factor -e=\"USE: zealot.factor USE: tools.test USE: tools.test.private [ zealot-core-vocabs test-vocabs ] with-child-options\""
-  
+      run: arch -x86_64 ./build.sh net-bootstrap
+    - name: load
+      run: "./factor -e='USING: memory namespaces parser.notes vocabs.hierarchy ; parser-quiet? off \"resource:basis\" \"\" load-from-root save'"
+    - name: configure
+      run: "./factor -e='USING: memory namespaces tools.test ; f long-unit-tests-enabled? set-global save'"
+    - name: test
+      run: "./factor -run=tools.test resource:core"
+    - name: help-lint
+      run: "./factor -run=help.lint resource:core resource:basis"