From 66e42631360d9ed29e609d43a43faee42d63bbee Mon Sep 17 00:00:00 2001 From: Snider Date: Tue, 26 Mar 2024 20:54:23 +0000 Subject: [PATCH] CI environments -.- --- .github/workflows/cli-testnet.yml | 124 +++++++++++++++--------------- 1 file changed, 62 insertions(+), 62 deletions(-) diff --git a/.github/workflows/cli-testnet.yml b/.github/workflows/cli-testnet.yml index f9a05e88..9ec7d909 100644 --- a/.github/workflows/cli-testnet.yml +++ b/.github/workflows/cli-testnet.yml @@ -190,65 +190,65 @@ jobs: # if: startsWith(github.ref, 'refs/tags/') # with: # files: ${{ github.workspace }}/lethean-macos-cli-*.tar.bz2 - windows-amd64: - runs-on: windows-latest - env: - CCACHE_TEMPDIR: ${{ github.workspace }}/ccache - steps: - - name: Cancel Previous Runs - uses: styfle/cancel-workflow-action@0.9.1 - with: - access_token: ${{ github.token }} - - uses: actions/checkout@v3 - with: - fetch-depth: 0 - submodules: recursive - - uses: actions/cache@v3 - with: - path: ${{ github.workspace }}/ccache - key: ccache-${{ runner.os }}-build-testnet-cli - restore-keys: ccache-${{ runner.os }}-build-testnet-cli - - name: Eat the Choco - run: | - choco install openssl --version 1.1.1.1500 -y - choco install ccache -y - choco install zip -y - - name: install msvc toolset - uses: ilammy/msvc-dev-cmd@v1 - - name: Install boost - uses: MarkusJx/install-boost@v2.4.1 - id: install-boost - with: - # REQUIRED: Specify the required boost version - # A list of supported versions can be found here: - # https://github.com/MarkusJx/prebuilt-boost/blob/main/versions-manifest.json - boost_version: 1.80.0 - platform_version: 2022 - toolset: msvc - link: static - - name: Set up Visual Studio shell - uses: egor-tensin/vs-shell@v2 - with: - arch: x64 - - name: build server - env: - QT_PREFIX_PATH: C:\ProgramData\chocolatey\lib\Qt5.11.2\5.11.2 - BOOST_ROOT: ${{ steps.install-boost.outputs.BOOST_ROOT }} - LOCAL_BOOST_PATH: ${{ steps.install-boost.outputs.BOOST_ROOT }} - OPENSSL_ROOT_DIR: "C:\\Program Files\\OpenSSL-Win64" - CCACHE_TEMPDIR: ${{ github.workspace }}/ccache - run: | - refreshenv - ${{env.CCACHE_SETTINGS}} - .\utils\build\testnet_windows_cli.bat - - uses: actions/upload-artifact@v3 - with: - name: lethean-windows-cli - if-no-files-found: error - path: ${{ github.workspace }}\lethean-win-cli-*.zip - - name: Release - uses: softprops/action-gh-release@v1 - if: startsWith(github.ref, 'refs/tags/') - with: - files: | - lethean-win-cli-* +# windows-amd64: +# runs-on: windows-latest +# env: +# CCACHE_TEMPDIR: ${{ github.workspace }}/ccache +# steps: +# - name: Cancel Previous Runs +# uses: styfle/cancel-workflow-action@0.9.1 +# with: +# access_token: ${{ github.token }} +# - uses: actions/checkout@v3 +# with: +# fetch-depth: 0 +# submodules: recursive +# - uses: actions/cache@v3 +# with: +# path: ${{ github.workspace }}/ccache +# key: ccache-${{ runner.os }}-build-testnet-cli +# restore-keys: ccache-${{ runner.os }}-build-testnet-cli +# - name: Eat the Choco +# run: | +# choco install openssl --version 1.1.1.1500 -y +# choco install ccache -y +# choco install zip -y +# - name: install msvc toolset +# uses: ilammy/msvc-dev-cmd@v1 +# - name: Install boost +# uses: MarkusJx/install-boost@v2.4.1 +# id: install-boost +# with: +# # REQUIRED: Specify the required boost version +# # A list of supported versions can be found here: +# # https://github.com/MarkusJx/prebuilt-boost/blob/main/versions-manifest.json +# boost_version: 1.80.0 +# platform_version: 2022 +# toolset: msvc +# link: static +# - name: Set up Visual Studio shell +# uses: egor-tensin/vs-shell@v2 +# with: +# arch: x64 +# - name: build server +# env: +# QT_PREFIX_PATH: C:\ProgramData\chocolatey\lib\Qt5.11.2\5.11.2 +# BOOST_ROOT: ${{ steps.install-boost.outputs.BOOST_ROOT }} +# LOCAL_BOOST_PATH: ${{ steps.install-boost.outputs.BOOST_ROOT }} +# OPENSSL_ROOT_DIR: "C:\\Program Files\\OpenSSL-Win64" +# CCACHE_TEMPDIR: ${{ github.workspace }}/ccache +# run: | +# refreshenv +# ${{env.CCACHE_SETTINGS}} +# .\utils\build\testnet_windows_cli.bat +# - uses: actions/upload-artifact@v3 +# with: +# name: lethean-windows-cli +# if-no-files-found: error +# path: ${{ github.workspace }}\lethean-win-cli-*.zip +# - name: Release +# uses: softprops/action-gh-release@v1 +# if: startsWith(github.ref, 'refs/tags/') +# with: +# files: | +# lethean-win-cli-*