Skip to content

Commit

Permalink
does this please you MSVC
Browse files Browse the repository at this point in the history
  • Loading branch information
TysonRayJones committed Feb 27, 2025
1 parent 8cfff7b commit 135dc14
Showing 1 changed file with 6 additions and 12 deletions.
18 changes: 6 additions & 12 deletions .github/workflows/compilation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,34 +29,28 @@ jobs:
include:
- os: ubuntu-latest
compiler: g++
cmakeflag:
makecmd: make
- os: macos-latest
compiler: clang++
cmakeflag:
makecmd: make
- os: windows-latest
compiler: cl
cmakeflag: -G "NMake Makefiles"
makecmd: nmake

# perform the job
steps:
- name: Get QuEST
uses: actions/checkout@v4

- name: Make build directory
run: mkdir build_dir

- name: Run CMake
- name: Configure CMake
working-directory: build_dir
run: >
cmake ..
${{ matrix.cmakeflag }}
-DENABLE_MULTITHREADING=OFF
-DFLOAT_PRECISION=${{ matrix.precision }}
-DCMAKE_CXX_COMPILER=${{ matrix.compiler }}
- name: Run Make
working-directory: build_dir
run: ${{ matrix.makecmd }}
- name: Compile
run: >
cmake --build build_dir

0 comments on commit 135dc14

Please sign in to comment.