[ci/configs] Make the build more useful by linking as well

Catches missing symbol issues.
This commit is contained in:
Khaled Hosny committed 2025-05-06 20:17:30 +03:00
1 parent 67bb0184a1
commit d89e90e8e3
1 file changed
+7 -1
+7 -1
View File
@@ -22,7 +22,13 @@ jobs:
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Create main.cc
run: |
cat <<EOF > main.cc
#include "src/harfbuzz.cc"
int main() { return 0; }
EOF
- name: install dependencies
run: sudo apt-get install gcc
- name: Build with ${{ matrix.config }}
run: g++ -std=c++11 -c src/harfbuzz.cc -D${{ matrix.config }}
run: g++ -std=c++11 main.cc -D${{ matrix.config }}