forked from lthn/blockchain
CI environments -.-
This commit is contained in:
parent
9a08bfce0e
commit
66e4263136
1 changed files with 62 additions and 62 deletions
124
.github/workflows/cli-testnet.yml
vendored
124
.github/workflows/cli-testnet.yml
vendored
|
|
@ -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-*
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue