From d89e90e8e34cdca53b3a76c9c3df02caa6bdcbe6 Mon Sep 17 00:00:00 2001 From: Khaled Hosny Date: Tue, 6 May 2025 19:37:55 +0300 Subject: [PATCH] [ci/configs] Make the build more useful by linking as well Catches missing symbol issues. --- .github/workflows/configs-build.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/configs-build.yml b/.github/workflows/configs-build.yml index e319dd5d6..b9b3a173e 100644 --- a/.github/workflows/configs-build.yml +++ b/.github/workflows/configs-build.yml @@ -22,7 +22,13 @@ jobs: steps: - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 + - name: Create main.cc + run: | + cat < 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 }}