Update CI for Linux packaging

This commit is contained in:
Dan Paulat 2023-05-29 15:51:06 -05:00
parent d44075a5fd
commit fe831cf65a

View file

@ -127,12 +127,34 @@ jobs:
ninja supercell-wx wxtest ninja supercell-wx wxtest
cmake --install . --component supercell-wx 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 uses: actions/upload-artifact@v3
with: with:
name: supercell-wx-${{ matrix.artifact_suffix }} name: supercell-wx-${{ matrix.artifact_suffix }}
path: ${{ github.workspace }}/supercell-wx/ 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 - name: Test Supercell Wx
working-directory: ${{ github.workspace }}/build working-directory: ${{ github.workspace }}/build
run: ctest -C ${{ matrix.build_type }} --exclude-regex mbgl-test-runner run: ctest -C ${{ matrix.build_type }} --exclude-regex mbgl-test-runner