Skip to content

Commit

Permalink
Update cmake-single-platform.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
thepwrtank18 authored Dec 28, 2024
1 parent ee67da3 commit a4e03af
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/cmake-single-platform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,15 @@ jobs:
Start-Process '7z' -ArgumentList 'x C:\TDM-GCC-64\*.tar -oC:\TDM-GCC-64 -y' -Wait
$env:PATH = 'C:\TDM-GCC-64\bin;' + $env:PATH
[Environment]::SetEnvironmentVariable('PATH', $env:PATH, [EnvironmentVariableTarget]::Machine)
tree /f "C:\TDM-GCC-64"
- name: Configure CMake
# Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make.
# See https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html?highlight=cmake_build_type
run: cmake -G "MinGW Makefiles" -DCMAKE_C_COMPILER=C:\TDM-GCC-64\bin\gcc.exe -DCMAKE_CXX_COMPILER=C:\TDM-GCC-64\bin\g++.exe -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}
run: |
cmake -G "MinGW Makefiles" -DCMAKE_C_COMPILER=C:\TDM-GCC-64\bin\gcc.exe -DCMAKE_CXX_COMPILER=C:\TDM-GCC-64\bin\g++.exe -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}
tree /f ${{github.workspace}}
- name: Build
# Build your program with the given configuration
run: cmake -DCMAKE_C_COMPILER=C:\TDM-GCC-64\bin\gcc.exe -DCMAKE_CXX_COMPILER=C:\TDM-GCC-64\bin\g++.exe
run: make .

0 comments on commit a4e03af

Please sign in to comment.