mirror of
https://github.com/odin-lang/Odin.git
synced 2025-12-28 17:04:34 +00:00
map tests for Linux and Mac
This commit is contained in:
10
.github/workflows/ci.yml
vendored
10
.github/workflows/ci.yml
vendored
@@ -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
6
tests/internal/Makefile
Normal file
@@ -0,0 +1,6 @@
|
||||
ODIN=../../odin
|
||||
|
||||
all: map_test
|
||||
|
||||
map_test:
|
||||
$(ODIN) run test_map.odin -file -vet -strict-style -o:minimal
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user