File tree Expand file tree Collapse file tree 1 file changed +43
-0
lines changed Expand file tree Collapse file tree 1 file changed +43
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Conan Build & Test
2+
3+ on :
4+ push :
5+ branches : [main]
6+ pull_request :
7+ branches : [main]
8+
9+ jobs :
10+ build :
11+ runs-on : ${{ matrix.os }}
12+ strategy :
13+ matrix :
14+ os : [ubuntu-latest, macos-latest, windows-latest]
15+ build_type : [Release, Debug]
16+
17+ steps :
18+ - name : Checkout repository
19+ uses : actions/checkout@v3
20+
21+ - name : Setup Python
22+ uses : actions/setup-python@v4
23+ with :
24+ python-version : 3.11
25+
26+ - name : Install Conan
27+ run : pip install conan meson ninja
28+
29+ - name : Configure Conan profile
30+ run : |
31+ conan profile new default --detect || true
32+ conan profile update settings.compiler.libcxx=libstdc++11 default || true
33+
34+ - name : Create and build package
35+ run : |
36+ conan create . fossillogic/pizza_test-1.2.7@ \
37+ -s build_type=${{ matrix.build_type }}
38+
39+ - name : Run test package
40+ run : |
41+ mkdir test_package_build && cd test_package_build
42+ conan install ../test_package --build=missing
43+ conan build ../test_package
You can’t perform that action at this time.
0 commit comments