mirror of
https://github.com/odin-lang/Odin.git
synced 2026-04-19 13:00:28 +00:00
Merge pull request #3683 from andreas-jonsson/test-make-cleanup
Minor cleanup of makefiles and scripts
This commit is contained in:
1
.github/workflows/ci.yml
vendored
1
.github/workflows/ci.yml
vendored
@@ -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
|
||||
|
||||
@@ -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)
|
||||
@@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
set -eu
|
||||
|
||||
mkdir -p build
|
||||
|
||||
Reference in New Issue
Block a user