Additional Conan 2.x, multi-config and CI updates

This commit is contained in:
Dan Paulat 2023-12-22 13:53:27 -06:00
parent 07cac3a03f
commit 6f70499105
2 changed files with 6 additions and 4 deletions

View file

@ -132,7 +132,7 @@ jobs:
shell: pwsh
run: |
pip install conan
conan profile new default --detect
conan profile detect
conan install ./source/ `
--remote conancenter `
--build missing `
@ -161,6 +161,7 @@ jobs:
shell: bash
run: |
cd build/
cd Release/
cd bin/
objcopy --only-keep-debug supercell-wx supercell-wx.debug
objcopy --strip-debug --strip-unneeded supercell-wx
@ -205,7 +206,7 @@ jobs:
uses: actions/upload-artifact@v4
with:
name: supercell-wx-debug-${{ matrix.artifact_suffix }}
path: ${{ github.workspace }}/build/bin/*.pdb
path: ${{ github.workspace }}/build/Release/bin/*.pdb
- name: Upload Artifacts (Linux)
if: ${{ startsWith(matrix.os, 'ubuntu') }}
@ -220,8 +221,8 @@ jobs:
with:
name: supercell-wx-debug-${{ matrix.artifact_suffix }}
path: |
${{ github.workspace }}/build/bin/*.debug
${{ github.workspace }}/build/lib/*.debug
${{ github.workspace }}/build/Release/bin/*.debug
${{ github.workspace }}/build/Release/lib/*.debug
- name: Build Installer (Windows)
if: matrix.os == 'windows-2022'

1
.gitignore vendored
View file

@ -5,6 +5,7 @@ CMakeLists.txt.user
CMakeCache.txt
CMakeFiles
CMakeScripts
CMakeUserPresets.json
Testing
cmake_install.cmake
install_manifest.txt