diff --git a/.forgejo/workflows/test.yml b/.forgejo/workflows/test.yml index 0499906575..1b2aaaa3b4 100644 --- a/.forgejo/workflows/test.yml +++ b/.forgejo/workflows/test.yml @@ -9,11 +9,16 @@ jobs: strategy: fail-fast: false matrix: - runner: [linux-amd64,linux-aarch64] + runner: [linux-aarch64] + shared: ['false'] bits: ['64'] include: - runner: linux-amd64 + shared: 'false' bits: '32' + - runner: linux-amd64 + shared: 'true' + bits: '64' runs-on: ${{ matrix.runner }} steps: - name: Checkout @@ -22,6 +27,7 @@ jobs: run: | ./configure --enable-gpl --enable-nonfree --enable-memory-poisoning --assert-level=2 \ $([ "${{ matrix.bits }}" != "32" ] || echo --arch=x86_32 --extra-cflags=-m32 --extra-cxxflags=-m32 --extra-ldflags=-m32) \ + $([ "${{ matrix.shared }}" != "true" ] || echo --enable-shared --disable-static) \ || CFGRES=$? && CFGRES=$? cat ffbuild/config.log exit $CFGRES @@ -47,7 +53,7 @@ jobs: path: fate-suite key: fate-suite-${{ steps.fate.outputs.hash }} - name: Run Fate - run: make fate fate-build SAMPLES=$PWD/fate-suite -j$(nproc) + run: LD_LIBRARY_PATH="$(printf "%s:" "$PWD"/lib*)$PWD" make fate fate-build SAMPLES=$PWD/fate-suite -j$(nproc) compile_only: strategy: fail-fast: false