forked from lthn/blockchain
Update build-windows-intel.yml
This commit is contained in:
parent
34835fdbc7
commit
bf59665902
1 changed files with 18 additions and 1 deletions
19
.github/workflows/build-windows-intel.yml
vendored
19
.github/workflows/build-windows-intel.yml
vendored
|
|
@ -32,6 +32,22 @@ jobs:
|
|||
path: ${{ github.workspace }}/build/sdk
|
||||
key: ${{ runner.os }}-${{ runner.arch }}-sdk
|
||||
|
||||
- name: Create Conan Profile
|
||||
shell: pwsh
|
||||
run: |
|
||||
$profileDir = "${{ github.workspace }}/build/sdk/profiles"
|
||||
New-Item -Path $profileDir -ItemType Directory -Force
|
||||
@"
|
||||
[settings]
|
||||
arch=x86_64
|
||||
build_type=Release
|
||||
compiler=msvc
|
||||
compiler.cppstd=17
|
||||
compiler.runtime=static
|
||||
compiler.version=194
|
||||
os=Windows
|
||||
"@ | Set-Content -Path (Join-Path $profileDir "default")
|
||||
|
||||
- uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: 3.x
|
||||
|
|
@ -43,8 +59,9 @@ jobs:
|
|||
home: ${{ github.workspace }}/build/sdk
|
||||
cache_packages: false
|
||||
|
||||
|
||||
- name: Compile Release
|
||||
run: make msvc-193-x86_64 STATIC=1 CPU_CORES=4 TESTNET=${{ inputs.chain-network == 'testnet' && '1' || '0' }}
|
||||
run: make build STATIC=1 CPU_CORES=4 TESTNET=${{ inputs.chain-network == 'testnet' && '1' || '0' }}
|
||||
|
||||
- name: CLI Artifacts
|
||||
uses: ./.github/actions/upload-artifacts
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue