Skip to content

Commit

Permalink
Added experimental conan build to the workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
jgaa committed Mar 9, 2024
1 parent 25521ee commit 2b7cb23
Showing 1 changed file with 25 additions and 7 deletions.
32 changes: 25 additions & 7 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ jobs:
include:
- os: ubuntu-latest
compiler: gcc
- os: ubuntu-latest
compiler: clang
- os: windows-latest
compiler: msvc
- os: macos-latest
compiler: clang
# - os: ubuntu-latest
# compiler: clang
# - os: windows-latest
# compiler: msvc
# - os: macos-latest
# compiler: clang

steps:
- name: Checkout code
Expand Down Expand Up @@ -80,10 +80,28 @@ jobs:
cmake .. -DCMAKE_BUILD_TYPE=Release -G "Ninja" -DCMAKE_TOOLCHAIN_FILE=~/vcpkg/scripts/buildsystems/vcpkg.cmake
cmake --build .
popd
- name: Run tests
run: |
pushd build
ctest -C Release
popd
- name: install python
uses: actions/setup-python@v2
with:
python-version: 3.12
- name: Install pipx
uses: CfirTsabari/actions-pipx@v1

- name: Install Conan
run: |
pipx install conan
conan profile new default --detect
- name: Test build with Conan
run: |
mkdir conan-build && cd conan-build
conan install .. --build missing
conan create .. --build 'logfault/*'

0 comments on commit 2b7cb23

Please sign in to comment.