Merge pull request #3683 from andreas-jonsson/test-make-cleanup

Minor cleanup of makefiles and scripts
This commit is contained in:
gingerBill
2024-06-05 15:44:27 +01:00
committed by GitHub
3 changed files with 7 additions and 6 deletions

View File

@@ -24,7 +24,6 @@ jobs:
/usr/sbin/pkg_add https://github.com/andreas-jonsson/llvm17-netbsd-bin/releases/download/pkgsrc-current/llvm-17.0.6.tgz
/usr/sbin/pkg_add https://github.com/andreas-jonsson/llvm17-netbsd-bin/releases/download/pkgsrc-current/clang-17.0.6.tgz
ln -s /usr/pkg/bin/python3.11 /usr/bin/python3
ln -s /usr/pkg/bin/bash /bin/bash
run: |
git config --global --add safe.directory $(pwd)
gmake release

View File

@@ -1,7 +1,9 @@
ODIN=../../odin
COMMON=-file -vet -strict-style -o:minimal
all: asan_test rtti_test map_test pow_test 128_test string_compare_test
all: all_bsd asan_test
all_bsd: rtti_test map_test pow_test 128_test string_compare_test
rtti_test:
$(ODIN) test test_rtti.odin $(COMMON)
@@ -15,8 +17,8 @@ pow_test:
128_test:
$(ODIN) test test_128.odin $(COMMON)
string_compare_test:
$(ODIN) test test_string_compare.odin $(COMMON)
asan_test:
$(ODIN) test test_asan.odin $(COMMON) -sanitize:address -debug
string_compare_test:
$(ODIN) test test_string_compare.odin $(COMMON)

View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -eu
mkdir -p build