]> gitweb.factorcode.org Git - factor.git/commitdiff
Manual trigger to test branches on Github
authornomennescio <nomennescio@factorcode.org>
Thu, 24 Aug 2023 07:18:11 +0000 (08:18 +0100)
committernomennescio <nomennescio@factorcode.org>
Thu, 24 Aug 2023 07:18:11 +0000 (08:18 +0100)
.github/workflows/test_branch.yml [new file with mode: 0644]

diff --git a/.github/workflows/test_branch.yml b/.github/workflows/test_branch.yml
new file mode 100644 (file)
index 0000000..a094276
--- /dev/null
@@ -0,0 +1,48 @@
+name: Test Branch
+
+on: workflow_dispatch
+
+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'