Skip to content

Commit 6423f09

Browse files
committed
CI: Build against system pugixml on Ubuntu 20.04
1 parent 232b51b commit 6423f09

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/cppcmake.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
fail-fast: false
2929
matrix:
3030
config:
31-
- {name: "ubuntu-20.04", os: "ubuntu-20.04"}
31+
- {name: "ubuntu-20.04", os: "ubuntu-20.04", cmake_extra: "-DLSL_BUNDLED_PUGIXML=OFF"}
3232
- {name: "ubuntu-18.04", os: "ubuntu-18.04"}
3333
- {name: "ubuntu-16.04", os: "ubuntu-16.04"}
3434
- {name: "windows-x64", os: "windows-latest", cmake_extra: "-T v140,host=x86"}
@@ -39,6 +39,9 @@ jobs:
3939
- uses: actions/checkout@v2
4040
- name: Configure CMake
4141
run: |
42+
if [[ "${{ matrix.config.os }}" == "ubuntu-20.04" ]]; then
43+
sudo apt-get install libpugixml-dev
44+
fi
4245
cmake --version
4346
cmake -S . -B build \
4447
-DCMAKE_BUILD_TYPE=Release \

0 commit comments

Comments
 (0)