diff --git a/.github/workflows/check_gcc b/.github/workflows/check_gcc new file mode 100644 index 0000000..ecd6e6d --- /dev/null +++ b/.github/workflows/check_gcc @@ -0,0 +1,26 @@ +name: check +on: push + +jobs: + check: + strategy: + matrix: + os: [macos-latest, windows-latest, ubuntu-latest] + runs-on: ${{ matrix.os }} + steps: + - uses: actions/checkout@v3 + + - name: build + run: g++ --std=c++20 -o RangeShifter.exe ./src/*.cpp ./src/RScore/!(Main).cpp -DRSDEBUG -DRSWIN64 -DLINUX_CLUSTER + + - name: run + run: | + cd ./run_on_gha/rs_test_project + ./rs.exe + + - name: check_output + run: | + cd ./run_on_gha/rs_test_project + rm Outputs/DebugLog.txt + bash check_output.bash + # DebugLog contains addresses, changes every run