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
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- run: sudo apt install clang
|
- run: sudo apt install g++
|
||||||
- run: chmod +x build.sh
|
- run: chmod +x build.sh
|
||||||
- run: ./build.sh test
|
- run: ./build.sh test
|
||||||
run-and-compile-windows:
|
run-and-compile-windows:
|
||||||
|
|||||||
19
build.sh
19
build.sh
@@ -1,18 +1,3 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
mkdir build
|
gcc -o bld bld_main.cpp -g
|
||||||
cd build
|
./bld
|
||||||
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 ..
|
|
||||||
|
|||||||
Reference in New Issue
Block a user