From ea5842a454dfba78b83c51824252fb65b32e8088 Mon Sep 17 00:00:00 2001 From: Krzosa Karol Date: Fri, 5 Jan 2024 14:15:13 +0100 Subject: [PATCH] Small script cleanup --- .github/workflows/run-tests.yml | 2 +- build.sh | 19 ++----------------- 2 files changed, 3 insertions(+), 18 deletions(-) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 368679d..5b63c51 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -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: diff --git a/build.sh b/build.sh index a2b458c..b626afa 100644 --- a/build.sh +++ b/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 .. \ No newline at end of file +gcc -o bld bld_main.cpp -g +./bld