mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-10-30 18:30:06 +00:00
Update CI for Linux packaging
This commit is contained in:
parent
d44075a5fd
commit
fe831cf65a
1 changed files with 23 additions and 1 deletions
24
.github/workflows/ci.yml
vendored
24
.github/workflows/ci.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue