Skip to content
This repository has been archived by the owner on Apr 29, 2024. It is now read-only.

[Conan] Copy the correct version of mimalloc.dll in Debug configuration #522

[Conan] Copy the correct version of mimalloc.dll in Debug configuration

[Conan] Copy the correct version of mimalloc.dll in Debug configuration #522

Workflow file for this run

name: CI Windows
on:
push:
paths-ignore:
- 'docs/**'
- 'tools/**'
- '*.md'
pull_request:
paths-ignore:
- 'docs/**'
- 'tools/**'
- '*.md'
jobs:
pre_job:
runs-on: ubuntu-latest
outputs:
should_skip: ${{ steps.skip_check.outputs.should_skip }}
steps:
- id: skip_check
uses: fkirc/skip-duplicate-actions@v5
with:
concurrent_skipping: 'same_content'
do_not_skip: '["pull_request", "release", "workflow_dispatch", "schedule"]'
build-windows:
needs: pre_job
if: ${{ needs.pre_job.outputs.should_skip != 'true' }}
runs-on: windows-latest
strategy:
fail-fast: false
matrix:
configuration: [debug, release]
name: 'Windows [${{ matrix.configuration }}]'
steps:
- uses: actions/checkout@v3
with:
submodules: 'recursive'
- uses: ilammy/msvc-dev-cmd@v1
- name: Install Conan
run: pip install conan==1.60.0
- uses: lukka/get-cmake@latest
- name: Configure CMake w/ Conan
run: |
conan profile new default --detect
conan profile update conf.tools.system.package_manager:mode=install default
conan profile update conf.tools.system.package_manager:sudo=True default
cmake --preset=default
- name: Build
run: cmake --build --preset=${{ matrix.configuration }}
# - name: Configure and build
# uses: lukka/run-cmake@v10.2
# with:
# configurePreset: default
# buildPreset: '${{ matrix.configuration }}'
- name: Upload artifact
uses: actions/upload-artifact@v3
with:
name: storm-engine.${{ matrix.configuration }}
path: build/default/${{ matrix.configuration }}
permissions: write-all