Skip to content

Commit

Permalink
Test pkgconf on ubuntu
Browse files Browse the repository at this point in the history
  • Loading branch information
lu-zero committed Jun 30, 2024
1 parent 83f07af commit c829067
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/example-project.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,13 +67,15 @@ jobs:
test "$(pkg-config --cflags example_project)" = "-I/usr/local/include/example-project-0.1"
test "$(pkg-config --libs example_project)" = "-L/usr/local/lib -lexample-project"
- name: Test pkg-config
- name: Test pkgconf
if: startsWith(matrix.os, 'ubuntu')
uses: awalsh128/cache-apt-pkgs-action@latest
packages: pkgconf
run: |
set -x
ARCHDIR=`dpkg-architecture -qDEB_HOST_MULTIARCH`
test "$(pkg-config --cflags example_project)" = "-I/usr/local/include/example-project-0.1"
test "$(pkg-config --libs example_project)" = "-L/usr/local/lib/${ARCHDIR} -lexample-project"
test "$(pkgconf --cflags example_project)" = "-I/usr/local/include/example-project-0.1"
test "$(pkgconf --libs example_project)" = "-L/usr/local/lib/${ARCHDIR} -lexample-project"
- name: Update dynamic linker cache
if: startsWith(matrix.os, 'ubuntu')
Expand Down

0 comments on commit c829067

Please sign in to comment.