Commit 7b3c02a 1 parent 865082d commit 7b3c02a Copy full SHA for 7b3c02a
File tree 1 file changed +9
-1
lines changed
1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -61,12 +61,20 @@ jobs:
61
61
sudo cp -r temp/usr/local/* /usr/local/
62
62
63
63
- name : Test pkg-config
64
- if : startsWith(matrix.os, 'macos') || startsWith(matrix.os, 'ubuntu')
64
+ if : startsWith(matrix.os, 'macos')
65
65
run : |
66
66
set -x
67
67
test "$(pkg-config --cflags example_project)" = "-I/usr/local/include/example-project-0.1"
68
68
test "$(pkg-config --libs example_project)" = "-L/usr/local/lib -lexample-project"
69
69
70
+ - name : Test pkg-config
71
+ if : startsWith(matrix.os, 'ubuntu')
72
+ run : |
73
+ set -x
74
+ 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"
77
+
70
78
- name : Update dynamic linker cache
71
79
if : startsWith(matrix.os, 'ubuntu')
72
80
run : |
You can’t perform that action at this time.
0 commit comments