Skip to content

Commit

Permalink
github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
irrld committed Oct 13, 2023
1 parent 6660bb5 commit 0ade839
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/build-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ jobs:

steps:
- uses: actions/checkout@v3
# path: ${{github.workspace}}/glist/myglistapps/${{github.repository}}

- name: checkout submodule
run: |
Expand Down Expand Up @@ -72,17 +73,15 @@ jobs:
- name: Set up Ninja
run: |
choco install ninja
echo "::add-path::C:/ProgramData/chocolatey/bin" # Add Ninja to PATH
echo "::set-env name=ENV_FILE::env.list" # Set the environment file
ls "C:/ProgramData/chocolatey/bin"
ls "C:/Windows/System32"
echo $PATH
- 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 -B 'D:/a/chesstacos/chesstacos/build' -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DTOP_DIR='D:/a/chesstacos/chesstacos' -DCMAKE_C_COMPILER="D:/a/chesstacos/chesstacos/zbin/glistzbin-win64/clang64/bin/clang.exe" -DCMAKE_CXX_COMPILER="D:/a/chesstacos/chesstacos/zbin/glistzbin-win64/clang64/bin/clang++.exe" -G "Ninja" -S .
run: cmake -B "D:/a/chesstacos/chesstacos/build" -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DTOP_DIR="D:/a/chesstacos/chesstacos" -DCMAKE_C_COMPILER="D:/a/chesstacos/chesstacos/zbin/glistzbin-win64/clang64/bin/clang.exe" -DCMAKE_CXX_COMPILER="D:/a/chesstacos/chesstacos/zbin/glistzbin-win64/clang64/bin/clang++.exe" -DCMAKE_MAKE_PROGRAM="C:/ProgramData/chocolatey/bin/ninja.exe" -G "Ninja" -S .

- name: Build
# Build your program with the given configuration
run: cmake --build 'D:/a/chesstacos/chesstacos/build' --config ${{env.BUILD_TYPE}}
run: cmake --build "D:/a/chesstacos/chesstacos/build" --config ${{env.BUILD_TYPE}}


0 comments on commit 0ade839

Please sign in to comment.