Small script cleanup
This commit is contained in:
2
.github/workflows/run-tests.yml
vendored
2
.github/workflows/run-tests.yml
vendored
@@ -4,7 +4,7 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- run: sudo apt install clang
|
||||
- run: sudo apt install g++
|
||||
- run: chmod +x build.sh
|
||||
- run: ./build.sh test
|
||||
run-and-compile-windows:
|
||||
|
||||
19
build.sh
19
build.sh
@@ -1,18 +1,3 @@
|
||||
#!/usr/bin/env bash
|
||||
mkdir build
|
||||
cd build
|
||||
set -e
|
||||
g++ -o bld ../bld_main.cpp -g
|
||||
cd ..
|
||||
./build/bld
|
||||
# gcc -o test_filesystem ../test/test_filesystem.c -Wno-write-strings
|
||||
# ./test_filesystem
|
||||
# gcc -o test_array ../test/test_array.cpp -fno-exceptions -fno-rtti -Wno-write-strings
|
||||
# ./test_array
|
||||
# gcc -o test_table ../test/test_table.cpp -fno-exceptions -fno-rtti -Wno-write-strings
|
||||
# ./test_table
|
||||
# gcc -o compile_as_c ../test/main.c
|
||||
# ./compile_as_c
|
||||
|
||||
#-Wno-writable-strings
|
||||
cd ..
|
||||
gcc -o bld bld_main.cpp -g
|
||||
./bld
|
||||
|
||||
Reference in New Issue
Block a user