-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
18 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,6 +22,7 @@ jobs: | |
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
# path: ${{github.workspace}}/glist/myglistapps/${{github.repository}} | ||
|
||
- name: checkout submodule | ||
run: | | ||
|
@@ -37,7 +38,19 @@ jobs: | |
run: | | ||
echo "D:/a/chesstacos/chesstacos/zbin/glistzbin-win64/clang64/bin" >> $GITHUB_PATH | ||
echo "D:/a/chesstacos/chesstacos/zbin/glistzbin-win64/CMake/bin" >> $GITHUB_PATH | ||
shell: cmd | ||
echo "C:/Windows/System32" >> $GITHUB_PATH | ||
echo "C:/Windows" >> $GITHUB_PATH | ||
shell: powershell | ||
|
||
- name: Debug PATH | ||
run: echo $PATH > path.txt | ||
shell: powershell | ||
|
||
- name: Upload PATH File | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: path-debug | ||
path: path.txt | ||
|
||
- name: Clone GlistEngine | ||
uses: GuillaumeFalourd/[email protected] | ||
|
@@ -72,17 +85,14 @@ 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" | ||
- 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}} | ||
|
||
|