We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent de95f57 commit edf66d6Copy full SHA for edf66d6
1 file changed
.github/workflows/CI.yml
@@ -6,11 +6,17 @@ jobs:
6
test:
7
name: rust-libxml CI
8
runs-on: ubuntu-latest
9
+ strategy:
10
+ matrix:
11
+ with_default_bindings: [false, true]
12
steps:
13
- name: install dependencies
14
uses: ryankurte/[email protected]
15
with:
16
packages: "libxml2-dev"
17
+ - name: Set up LIBXML2 env var if compiling with the default bindings
18
+ run: echo "LIBXML2=$(pkg-config libxml-2.0 --variable=libdir)/libxml2.so" >> "$GITHUB_ENV"
19
+ if: ${{ matrix.with_default_bindings }}
20
- uses: actions/checkout@v2
21
- uses: actions-rs/toolchain@v1
22
@@ -20,4 +26,4 @@ jobs:
26
- name: run tests
27
uses: actions-rs/cargo@v1
28
23
- command: test
29
+ command: test
0 commit comments