From 8aa9e1a7464af423570853169b7491ea0f5809a4 Mon Sep 17 00:00:00 2001 From: Metehan Gezer Date: Fri, 13 Oct 2023 14:09:58 +0300 Subject: [PATCH] github actions --- ...windows.yml.disabled => build-windows.yml} | 25 ++++++++++++------- znet | 2 +- 2 files changed, 17 insertions(+), 10 deletions(-) rename .github/workflows/{build-windows.yml.disabled => build-windows.yml} (70%) diff --git a/.github/workflows/build-windows.yml.disabled b/.github/workflows/build-windows.yml similarity index 70% rename from .github/workflows/build-windows.yml.disabled rename to .github/workflows/build-windows.yml index ab00028..c9531fd 100644 --- a/.github/workflows/build-windows.yml.disabled +++ b/.github/workflows/build-windows.yml @@ -28,10 +28,16 @@ jobs: git submodule update --init --recursive #working-directory: ${{github.workspace}}/glist/myglistapps/${{github.repository}} - - name: Set path + #- name: Set path + # run: | + # Add-Content $env:GITHUB_PATH "D:/a/chesstacos/chesstacos/zbin/glistzbin-win64/clang64/bin" + # Add-Content $env:GITHUB_PATH "D:/a/chesstacos/chesstacos/zbin/glistzbin-win64/CMake/bin" + + - name: Set path 2 run: | - Add-Content $env:GITHUB_PATH "D:/a/chesstacos/chesstacos/zbin/glistzbin-win64/clang64/bin" - Add-Content $env:GITHUB_PATH "D:/a/chesstacos/chesstacos/zbin/glistzbin-win64/CMake/bin" + 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 - name: Clone GlistEngine uses: GuillaumeFalourd/clone-github-repo-action@v2.2 @@ -58,18 +64,19 @@ jobs: 7z l "D:/a/chesstacos/chesstacos/zbin/glistzbin-win64-2.0.2.zip" 7z x "D:/a/chesstacos/chesstacos/zbin/glistzbin-win64-2.0.2.zip" -o"D:/a/chesstacos/chesstacos/zbin" - - name: List - run: | - cd ${{github.workspace}} - tree /f + #- name: List + # run: | + # cd ${{github.workspace}} + # tree /f - 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 '${{github.workspace}}/build' -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DTOP_DIR='D:/a/chesstacos/chesstacos' -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" -G "CodeBlocks - Unix Makefiles" -S . - name: Build # Build your program with the given configuration - run: cmake --build '${{github.workspace}}/build' --config ${{env.BUILD_TYPE}} + run: cmake --build 'D:/a/chesstacos/chesstacos/build' --config ${{env.BUILD_TYPE}} diff --git a/znet b/znet index 7e7fda0..c9b24e8 160000 --- a/znet +++ b/znet @@ -1 +1 @@ -Subproject commit 7e7fda0b43b6c77b0ace904bfb2a6f0d370660b7 +Subproject commit c9b24e8cd929a2f60715d001baacd76ccbf4d0bc