Skip to content

Commit 72f4204

Browse files
committed
Fix xerces build
1 parent ddf5ef6 commit 72f4204

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

.github/workflows/main.yaml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,14 @@ jobs:
4646
runs-on: ubuntu-latest
4747

4848
steps:
49-
- name: install dependencies
50-
run: sudo apt install libxerces-c-dev
49+
- name: build xerces
50+
run: |
51+
git clone https://github.com/xerces/xerces-c.git
52+
cd xerces-c
53+
mkdir build
54+
cd build
55+
cmake .. -DCMAKE_CXX_STANDARD=98 -DCMAKE_CXX_STANDARD_REQUIRED=ON -DCMAKE_CXX_EXTENSIONS=OFF
56+
make install
5157
- name: Checkout repo
5258
uses: actions/checkout@v3
5359
- name: Test C++

0 commit comments

Comments
 (0)