diff options
author | Thorbjørn Lindeijer <bjorn@lindeijer.nl> | 2024-06-19 10:10:15 +0200 |
---|---|---|
committer | Thorbjørn Lindeijer <bjorn@lindeijer.nl> | 2024-06-19 10:10:15 +0200 |
commit | 61d02a395b0ca594640f0fb917d7162a5aba2c37 (patch) | |
tree | 7dd6f7f540dda3d89d37bc7e19f3f4d27dd53c85 /.github/workflows/packages.yml | |
parent | 5da59b807d9840fb23feb42df729bf5e88ee9678 (diff) | |
parent | ac0b338b3e026d0d05a447894de9a6a994da82dc (diff) | |
download | mana-online-player-list.tar.gz mana-online-player-list.tar.bz2 mana-online-player-list.tar.xz mana-online-player-list.zip |
Merge branch 'master' into online-player-listonline-player-list
Conflicts:
src/net/tmwa/chathandler.cpp
Diffstat (limited to '.github/workflows/packages.yml')
-rw-r--r-- | .github/workflows/packages.yml | 63 |
1 files changed, 63 insertions, 0 deletions
diff --git a/.github/workflows/packages.yml b/.github/workflows/packages.yml new file mode 100644 index 00000000..779491ae --- /dev/null +++ b/.github/workflows/packages.yml @@ -0,0 +1,63 @@ +name: Packages +on: [push, pull_request] + +jobs: + msys2-ucrt64: + runs-on: windows-latest + defaults: + run: + shell: msys2 {0} + steps: + - uses: actions/checkout@v4 + with: + submodules: true + + - uses: msys2/setup-msys2@v2 + with: + msystem: UCRT64 + update: true + install: > + git + mingw-w64-ucrt-x86_64-gcc + mingw-w64-ucrt-x86_64-cmake + mingw-w64-ucrt-x86_64-physfs + mingw-w64-ucrt-x86_64-curl-winssl + mingw-w64-ucrt-x86_64-SDL2_image + mingw-w64-ucrt-x86_64-SDL2_mixer + mingw-w64-ucrt-x86_64-SDL2_net + mingw-w64-ucrt-x86_64-SDL2_ttf + mingw-w64-ucrt-x86_64-libxml2 + mingw-w64-ucrt-x86_64-nsis + + - name: CI-Build + run: | + cmake -B build . -DUSE_SYSTEM_GUICHAN=OFF -DCMAKE_BUILD_TYPE=Release + cmake --build build + pushd build + cpack + + - uses: actions/upload-artifact@v4 + with: + name: Mana installer for Windows (64-bit) + path: build/Mana-*-win64.exe + + snap: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + with: + submodules: true + + - uses: snapcore/action-build@v1 + id: snapcraft + + - uses: actions/upload-artifact@v4 + if: ${{ failure() }} + with: + name: snapcraft.log + path: '/home/runner/.local/state/snapcraft/log/*.log' + + - uses: actions/upload-artifact@v4 + with: + name: mana_amd64.snap + path: ${{ steps.snapcraft.outputs.snap }} |