Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
nlogozzo committed Dec 1, 2023
1 parent f8302e9 commit deb6855
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,12 @@ jobs:
matrix:
config:
- os: ubuntu-latest
artifact: "Linux-x64.zip"
mode: "Release"
conan-install-cmd: conan install conanfile-linux.txt -s compiler.cppstd=20 --build missing
- os: windows-latest
artifact: "Windows-x64.zip"
mode: "Release"
conan-install-cmd: conan install conanfile-windows.txt -s compiler.cppstd=20 --build missing
fail-fast: false
steps:
Expand All @@ -33,6 +37,12 @@ jobs:
- name: "Install Conan"
run: ${{ matrix.config.conan-install-cmd }}
- name: "CMake Build"
uses: threeal/[email protected]
run: cmake --build . --config ${{ matrix.config.mode }}
- name: "CMake Install"
working-directory: instdir
run: cmake --install build --prefix instdir --strip
- name: Upload
uses: actions/upload-artifact@v1
with:
run-build: true
path: ./${{ matrix.config.artifact }}
name: ${{ matrix.config.artifact }}-${{ matrix.config.mode }}

0 comments on commit deb6855

Please sign in to comment.