Build conan package with Github actions
This commit is contained in:
parent
1c126b6f3d
commit
0efd3ae507
17
.github/workflows/github-actions.yml
vendored
17
.github/workflows/github-actions.yml
vendored
@ -64,3 +64,20 @@ jobs:
|
|||||||
run: cmake --build build --target all -j$(nproc)
|
run: cmake --build build --target all -j$(nproc)
|
||||||
- name: test
|
- name: test
|
||||||
run: cd build && ctest
|
run: cd build && ctest
|
||||||
|
build_conan:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
container: ghcr.io/nlohmann/json-ci:v2.4.0
|
||||||
|
steps:
|
||||||
|
- run: echo "🎉 The job was automatically triggered by a ${{ github.event_name }} event."
|
||||||
|
- run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by GitHub."
|
||||||
|
- run: echo "🔎 Branch name is ${{ github.ref }} and repository is ${{ github.repository }}."
|
||||||
|
- name: Clone json-schema-validator
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
- uses: actions/setup-python@v4
|
||||||
|
with:
|
||||||
|
python-version: '3.10'
|
||||||
|
- run: python -m pip install --upgrade conan
|
||||||
|
- run: conan config init
|
||||||
|
- run: conan profile update settings.compiler.libcxx=libstdc++11 default
|
||||||
|
- name: conan create package
|
||||||
|
run: conan create .
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user