diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 66f8df70..6e2dde04 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -77,7 +77,7 @@ jobs: [[ "${{ matrix.build_arch }}" == "x86" ]] && export PKG_CONFIG_PATH=/usr/lib/i386-linux-gnu/pkgconfig:$PKG_CONFIG_PATH || true echo "Package config path: $PKG_CONFIG_PATH" scripts/build.sh release ${{ matrix.build_arch }} - chmod +x build/bin/Release_${{ matrix.build_arch }}/{ImageConverter,Unlinker,Linker} + chmod +x build/bin/Release_${{ matrix.build_arch }}/{ModMan,ImageConverter,Unlinker,Linker} - name: Test working-directory: ${{ github.workspace }}/build/lib/Release_${{ matrix.build_arch }}/tests diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index a92bed42..ce97658f 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -13,23 +13,25 @@ jobs: run: shell: bash steps: + - name: Enable i386 architecture + run: dpkg --add-architecture i386 + - name: Install base packages run: | apt-get update apt-get install -y wget tar git make curl - - name: Configure gcc - if: ${{ matrix.toolset == 'gcc' }} - uses: ./.github/actions/configure-gcc - with: - gcc_version: 14 - enable_x86: "true" - - name: Checkout repository uses: actions/checkout@v6 with: submodules: recursive + - name: Configure gcc + uses: ./.github/actions/configure-gcc + with: + gcc_version: 14 + enable_x86: "true" + - name: Premake generate working-directory: ${{ github.workspace }} env: @@ -39,6 +41,8 @@ jobs: - name: Build working-directory: ${{ github.workspace }} run: | + export PKG_CONFIG_PATH=/usr/lib/i386-linux-gnu/pkgconfig:$PKG_CONFIG_PATH + echo "Package config path: $PKG_CONFIG_PATH" scripts/build.sh release x86 chmod +x build/bin/Release_x86/{ImageConverter,Unlinker,Linker}