map tests for Linux and Mac

This commit is contained in:
Jeroen van Rijn
2022-11-13 16:32:24 +01:00
parent 16a494347c
commit 9b88a38e54
3 changed files with 18 additions and 1 deletions

View File

@@ -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

6
tests/internal/Makefile Normal file
View File

@@ -0,0 +1,6 @@
ODIN=../../odin
all: map_test
map_test:
$(ODIN) run test_map.odin -file -vet -strict-style -o:minimal

View File

@@ -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
%PATH_TO_ODIN% run test_map.odin -file -vet -strict-style -o:minimal
rem -define:SEED=42