Skip to content

Commit b1dd228

Browse files
Update conan_ci.yml
1 parent 60b6dba commit b1dd228

File tree

1 file changed

+4
-13
lines changed

1 file changed

+4
-13
lines changed

.github/workflows/conan_ci.yml

Lines changed: 4 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Build and Package PizzaTest
1+
name: Conan CI
22

33
on:
44
push:
@@ -13,11 +13,9 @@ jobs:
1313
runs-on: ubuntu-latest
1414

1515
steps:
16-
# 1. Checkout the repo
1716
- name: Checkout repository
1817
uses: actions/checkout@v3
1918

20-
# 2. Install dependencies: Python, Meson, Ninja, Conan
2119
- name: Set up Python
2220
uses: actions/setup-python@v4
2321
with:
@@ -33,26 +31,19 @@ jobs:
3331
pip install --upgrade pip
3432
pip install meson==1.3.2 conan==2.3.2
3533
36-
# 3. Configure Conan
37-
- name: Configure Conan
38-
run: |
39-
conan profile new default --detect || true
40-
conan profile update settings.compiler.libcxx=libstdc++11 default
34+
- name: Detect Conan profile
35+
run: conan profile detect
4136

42-
# 4. Install dependencies via Conan (if needed)
4337
- name: Install dependencies
44-
run: conan install . --build=missing
38+
run: conan install . --profile default --build=missing
4539

46-
# 5. Build with Meson
4740
- name: Build
4841
run: |
4942
meson setup builddir
5043
meson compile -C builddir
5144
52-
# 6. Run tests (optional)
5345
- name: Test
5446
run: meson test -C builddir
5547

56-
# 7. Package using Conan
5748
- name: Package
5849
run: conan create . pizza_test/1.2.7@

0 commit comments

Comments
 (0)