Browse Source

Make -llvm-api run first before old backend on Linux

gingerBill 4 years ago
parent
commit
1387fd9047
1 changed files with 3 additions and 3 deletions
  1. 3 3
      .github/workflows/ci.yml

+ 3 - 3
.github/workflows/ci.yml

@@ -10,10 +10,10 @@ jobs:
         run: sudo apt-get install llvm-11 clang-11
       - name: build odin
         run: make release
+      - name: Odin run -llvm-api
+        run: ./odin run examples/demo/demo.odin -llvm-api
       - name: Odin run
-        run: |
-          ./odin run examples/demo/demo.odin
-          ./odin run examples/demo/demo.odin -llvm-api
+        run: ./odin run examples/demo/demo.odin
       - name: Odin check
         run: ./odin check examples/demo/demo.odin -vet
   build_macOS: