diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ca2a7f36..06b7a475 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -127,12 +127,34 @@ jobs: ninja supercell-wx wxtest cmake --install . --component supercell-wx - - name: Upload Artifacts + - name: Collect Artifacts + if: matrix.os == 'ubuntu-22.04' + shell: bash + run: | + pushd supercell-wx/ + cd lib/ + ln -s libssl.so.3 libssl.so + cd .. + mkdir -p plugins/sqldrivers/ + cd plugins/sqldrivers/ + cp "${RUNNER_WORKSPACE}/Qt/${{ matrix.qt_version }}/${{ matrix.qt_arch }}/plugins/sqldrivers/libqsqlite.so" . + popd + tar -czf supercell-wx-${{ matrix.artifact_suffix }}.tar.gz supercell-wx/ + + - name: Upload Artifacts (Windows) + if: matrix.os == 'windows-2022' uses: actions/upload-artifact@v3 with: name: supercell-wx-${{ matrix.artifact_suffix }} path: ${{ github.workspace }}/supercell-wx/ + - name: Upload Artifacts (Linux) + if: matrix.os == 'ubuntu-22.04' + uses: actions/upload-artifact@v3 + with: + name: supercell-wx-${{ matrix.artifact_suffix }} + path: ${{ github.workspace }}/supercell-wx-${{ matrix.artifact_suffix }}.tar.gz + - name: Test Supercell Wx working-directory: ${{ github.workspace }}/build run: ctest -C ${{ matrix.build_type }} --exclude-regex mbgl-test-runner