Skip to content

Commit a4e3aee

Browse files
committed
Test pkgconf on ubuntu
1 parent 83f07af commit a4e3aee

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/example-project.yml

+6-3
Original file line numberDiff line numberDiff line change
@@ -67,13 +67,16 @@ jobs:
6767
test "$(pkg-config --cflags example_project)" = "-I/usr/local/include/example-project-0.1"
6868
test "$(pkg-config --libs example_project)" = "-L/usr/local/lib -lexample-project"
6969
70-
- name: Test pkg-config
70+
- name: Test pkgconf
7171
if: startsWith(matrix.os, 'ubuntu')
72+
uses: awalsh128/cache-apt-pkgs-action@latest
73+
with:
74+
packages: pkgconf
7275
run: |
7376
set -x
7477
ARCHDIR=`dpkg-architecture -qDEB_HOST_MULTIARCH`
75-
test "$(pkg-config --cflags example_project)" = "-I/usr/local/include/example-project-0.1"
76-
test "$(pkg-config --libs example_project)" = "-L/usr/local/lib/${ARCHDIR} -lexample-project"
78+
test "$(pkgconf --cflags example_project)" = "-I/usr/local/include/example-project-0.1"
79+
test "$(pkgconf --libs example_project)" = "-L/usr/local/lib/${ARCHDIR} -lexample-project"
7780
7881
- name: Update dynamic linker cache
7982
if: startsWith(matrix.os, 'ubuntu')

0 commit comments

Comments
 (0)