Skip to content

Commit

Permalink
Add check for compilation via GNU compiler
Browse files Browse the repository at this point in the history
  • Loading branch information
TheoPannetier authored Feb 16, 2024
1 parent 7b54f94 commit ac233d9
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/check_gcc
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit ac233d9

Please sign in to comment.