浏览代码

add new action.

Ethosa 4 年之前
父节点
当前提交
836a37fee9
共有 1 个文件被更改,包括 27 次插入3 次删除
  1. 27 3
      .github/workflows/test.yml

+ 27 - 3
.github/workflows/test.yml

@@ -47,11 +47,35 @@ jobs:
           nim-version: ${{ matrix.nim_version }}
       - name: Build examples
         run: |
-          # FIXME: build failing
-          # (cd examples/calculator && nim c main.nim)
-
           (cd examples/hello_world && nim c main.nim)
           (cd examples/calculator && nim c main.nim)
           (cd examples/novel && nim c main.nim)
           (cd examples/snake && nim c main.nim)
+        shell: bash
+      - name: Build tests
+        run: |
+          (cd tests && nim c test1.nim)
+          (cd tests && nim c test2.nim)
+          (cd tests && nim c test3.nim)
+          (cd tests && nim c test4.nim)
+          (cd tests && nim c test5.nim)
+          (cd tests && nim c test6.nim)
+          (cd tests && nim c test7.nim)
+          (cd tests && nim c test8.nim)
+          (cd tests && nim c test9.nim)
+          (cd tests && nim c test10.nim)
+          (cd tests && nim c test11.nim)
+          (cd tests && nim c test12.nim)
+          (cd tests && nim c test13.nim)
+          (cd tests && nim c test14.nim)
+          (cd tests && nim c test15.nim)
+          (cd tests && nim c test16.nim)
+          (cd tests && nim c test17.nim)
+          (cd tests && nim c test18.nim)
+          (cd tests && nim c test19.nim)
+          (cd tests && nim c test20.nim)
+          (cd tests && nim c test21.nim)
+          (cd tests && nim c test22.nim)
+          (cd tests && nim c test23.nim)
+          (cd tests && nim c test24.nim)
         shell: bash