aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen van Rijn <Kelimion@users.noreply.github.com>2022-11-13 16:32:24 +0100
committerJeroen van Rijn <Kelimion@users.noreply.github.com>2022-11-13 16:32:24 +0100
commit9b88a38e54818daf6fda4e2dda4ab4aa6c6dbd5d (patch)
tree8019ee70ba3d4470e2411f6d7d76d7c33800d5b7
parent16a494347c82ea22686146b5e932d6683d761751 (diff)
map tests for Linux and Mac
-rw-r--r--.github/workflows/ci.yml10
-rw-r--r--tests/internal/Makefile6
-rw-r--r--tests/internal/build.bat3
3 files changed, 18 insertions, 1 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 689c1d67a..0c43690ad 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -38,6 +38,11 @@ jobs:
cd tests/vendor
make
timeout-minutes: 10
+ - name: Odin internals tests
+ run: |
+ cd tests/internal
+ make
+ timeout-minutes: 10
- name: Odin check examples/all for Linux i386
run: ./odin check examples/all -vet -strict-style -target:linux_i386
timeout-minutes: 10
@@ -87,6 +92,11 @@ jobs:
cd tests/vendor
make
timeout-minutes: 10
+ - name: Odin internals tests
+ run: |
+ cd tests/internals
+ make
+ timeout-minutes: 10
- name: Odin check examples/all for Darwin arm64
run: ./odin check examples/all -vet -strict-style -target:darwin_arm64
timeout-minutes: 10
diff --git a/tests/internal/Makefile b/tests/internal/Makefile
new file mode 100644
index 000000000..7328968f0
--- /dev/null
+++ b/tests/internal/Makefile
@@ -0,0 +1,6 @@
+ODIN=../../odin
+
+all: map_test
+
+map_test:
+ $(ODIN) run test_map.odin -file -vet -strict-style -o:minimal \ No newline at end of file
diff --git a/tests/internal/build.bat b/tests/internal/build.bat
index d747ebfef..313e1dbb5 100644
--- a/tests/internal/build.bat
+++ b/tests/internal/build.bat
@@ -1,3 +1,4 @@
@echo off
set PATH_TO_ODIN==..\..\odin
-%PATH_TO_ODIN% run test_map.odin -file -vet -strict-style -o:minimal -define:SEED=42 \ No newline at end of file
+%PATH_TO_ODIN% run test_map.odin -file -vet -strict-style -o:minimal
+rem -define:SEED=42 \ No newline at end of file