From 9b88a38e54818daf6fda4e2dda4ab4aa6c6dbd5d Mon Sep 17 00:00:00 2001 From: Jeroen van Rijn Date: Sun, 13 Nov 2022 16:32:24 +0100 Subject: [PATCH] map tests for Linux and Mac --- .github/workflows/ci.yml | 10 ++++++++++ tests/internal/Makefile | 6 ++++++ tests/internal/build.bat | 3 ++- 3 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 tests/internal/Makefile 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