ci, gha: Make MSVC job presentation more explicit

This commit is contained in:
Hennadii Stepanov 2023-08-09 15:08:24 +01:00
parent 5ee039bb58
commit f1774e5ec4
No known key found for this signature in database
GPG Key ID: 410108112E7EA81F

View File

@ -12,21 +12,21 @@ env:
jobs: jobs:
win64-native: win64-native:
name: "x86_64: Windows (VS 2022)" name: "x86_64: Windows, VS 2022"
# See: https://github.com/actions/runner-images#available-images. # See: https://github.com/actions/runner-images#available-images.
runs-on: windows-2022 runs-on: windows-2022
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
build_shared_libs: ['ON', 'OFF'] lib_type: ['shared', 'static']
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v3 uses: actions/checkout@v3
- name: Generate buildsystem - name: Generate buildsystem
run: cmake -E env CFLAGS="/WX" cmake -B build -A x64 -DSECP256K1_ENABLE_MODULE_RECOVERY=ON -DSECP256K1_BUILD_EXAMPLES=ON -DBUILD_SHARED_LIBS=${{ matrix.build_shared_libs }} run: cmake -E env CFLAGS="/WX" cmake -B build -A x64 -DSECP256K1_ENABLE_MODULE_RECOVERY=ON -DSECP256K1_BUILD_EXAMPLES=ON -DBUILD_SHARED_LIBS=${{ matrix.lib_type == 'shared' && 'ON' || 'OFF' }}
- name: Build - name: Build
run: cmake --build build --config RelWithDebInfo -- /p:UseMultiToolTask=true /maxCpuCount run: cmake --build build --config RelWithDebInfo -- /p:UseMultiToolTask=true /maxCpuCount