Skip to content

Commit ad77f90

Browse files
committed
chore: isntall missing packages on ubuntu
1 parent 4fc2b9e commit ad77f90

1 file changed

Lines changed: 14 additions & 8 deletions

File tree

.github/workflows/build.yml

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,16 @@ jobs:
2020
- name: Checkout repository
2121
uses: actions/checkout@v4
2222
with:
23-
submodules: recursive # <--- ensures all submodules are cloned
23+
submodules: recursive
24+
25+
# ----------------------------
26+
# Linux: Install system packages
27+
# ----------------------------
28+
- name: Install system packages (Linux)
29+
if: runner.os == 'Linux'
30+
run: |
31+
sudo apt-get update
32+
sudo apt-get install -y libgl1-mesa-dev libx11-dev
2433
2534
# ----------------------------
2635
# Setup Conan
@@ -31,22 +40,19 @@ jobs:
3140
# ----------------------------
3241
# Install dependencies
3342
# ----------------------------
34-
- name: Conan install
43+
- name: conan install packages
3544
run: conan install . --build=missing
3645

46+
- name: sbpt initialization
47+
run: python scripts/sbpt/main.py init src
48+
3749
# ----------------------------
3850
# Build
3951
# ----------------------------
4052
- name: Configure & Build
4153
run: |
42-
if [ "${{ matrix.os }}" == "windows-latest" ]; then
43-
echo "Building on Windows using conan-default preset"
44-
cmake --build --preset conan-default
45-
else
46-
echo "Building on Linux/macOS using conan-release preset"
4754
cmake --preset conan-release
4855
cmake --build --preset conan-release
49-
fi
5056
shell: bash
5157

5258
# ----------------------------

0 commit comments

Comments
 (0)