mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-08-06 13:24:16 -04:00
Added Qt5 workflow
This commit is contained in:
parent
07ee6581e1
commit
9ec24f826f
2 changed files with 140 additions and 0 deletions
70
.github/workflows/ci-mingw64.yml
vendored
Normal file
70
.github/workflows/ci-mingw64.yml
vendored
Normal file
|
@ -0,0 +1,70 @@
|
||||||
|
name: MINGW64 Qt5 Build
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
paths-ignore:
|
||||||
|
- '**/*.md'
|
||||||
|
pull_request:
|
||||||
|
paths-ignore:
|
||||||
|
- '**/*.md'
|
||||||
|
|
||||||
|
concurrency:
|
||||||
|
group: ${{ github.workflow}}-${{ github.head_ref }}
|
||||||
|
cancel-in-progress: true
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: windows-latest
|
||||||
|
permissions:
|
||||||
|
actions: write
|
||||||
|
defaults:
|
||||||
|
run:
|
||||||
|
shell: msys2 {0}
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Checkout repository
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
with:
|
||||||
|
persist-credentials: false
|
||||||
|
|
||||||
|
- name: Setup MSYS2
|
||||||
|
uses: msys2/setup-msys2@40677d36a502eb2cf0fb808cc9dec31bf6152638 # v2.28.0
|
||||||
|
with:
|
||||||
|
msystem: MINGW64
|
||||||
|
update: true
|
||||||
|
install: >-
|
||||||
|
base-devel
|
||||||
|
git
|
||||||
|
wget
|
||||||
|
p7zip
|
||||||
|
gcc
|
||||||
|
perl
|
||||||
|
ruby
|
||||||
|
doxygen
|
||||||
|
cmake
|
||||||
|
mingw-w64-x86_64-toolchain
|
||||||
|
mingw-w64-x86_64-miniupnpc
|
||||||
|
mingw-w64-x86_64-libxslt
|
||||||
|
mingw-w64-x86_64-xapian-core
|
||||||
|
mingw-w64-x86_64-sqlcipher
|
||||||
|
mingw-w64-x86_64-qt5-base
|
||||||
|
mingw-w64-x86_64-qt5-multimedia
|
||||||
|
mingw-w64-x86_64-ccmake
|
||||||
|
mingw-w64-x86_64-rapidjson
|
||||||
|
mingw-w64-x86_64-json-c
|
||||||
|
mingw-w64-x86_64-libbotan
|
||||||
|
mingw-w64-x86_64-asio
|
||||||
|
|
||||||
|
- name: Checkout submodules
|
||||||
|
run: |
|
||||||
|
env
|
||||||
|
git submodule update --init --remote libbitdht/ libretroshare/ retroshare-webui/
|
||||||
|
git submodule update --init supportlibs/librnp supportlibs/rapidjson supportlibs/restbed
|
||||||
|
|
||||||
|
- name: CI-Build
|
||||||
|
run: |
|
||||||
|
qmake . -r -spec win32-g++ "CONFIG+=release" "CONFIG+=rs_jsonapi" "CONFIG+=rs_webui" "CONFIG+=rs_autologin" "CONFIG+=no_rs_sam3" "CONFIG+=no_rs_sam3_libsam3"
|
||||||
|
mingw32-make -j3
|
70
.github/workflows/ci-ucrt64.yml
vendored
Normal file
70
.github/workflows/ci-ucrt64.yml
vendored
Normal file
|
@ -0,0 +1,70 @@
|
||||||
|
name: UCRT64 Qt5 Build
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
paths-ignore:
|
||||||
|
- '**/*.md'
|
||||||
|
pull_request:
|
||||||
|
paths-ignore:
|
||||||
|
- '**/*.md'
|
||||||
|
|
||||||
|
concurrency:
|
||||||
|
group: ${{ github.workflow}}-${{ github.head_ref }}
|
||||||
|
cancel-in-progress: true
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: windows-latest
|
||||||
|
permissions:
|
||||||
|
actions: write
|
||||||
|
defaults:
|
||||||
|
run:
|
||||||
|
shell: msys2 {0}
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Checkout repository
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
with:
|
||||||
|
persist-credentials: false
|
||||||
|
|
||||||
|
- name: Setup MSYS2
|
||||||
|
uses: msys2/setup-msys2@40677d36a502eb2cf0fb808cc9dec31bf6152638 # v2.28.0
|
||||||
|
with:
|
||||||
|
msystem: UCRT64
|
||||||
|
update: true
|
||||||
|
install: >-
|
||||||
|
base-devel
|
||||||
|
git
|
||||||
|
wget
|
||||||
|
p7zip
|
||||||
|
gcc
|
||||||
|
perl
|
||||||
|
ruby
|
||||||
|
doxygen
|
||||||
|
cmake
|
||||||
|
mingw-w64-ucrt-x86_64-toolchain
|
||||||
|
mingw-w64-ucrt-x86_64-miniupnpc
|
||||||
|
mingw-w64-ucrt-x86_64-libxslt
|
||||||
|
mingw-w64-ucrt-x86_64-xapian-core
|
||||||
|
mingw-w64-ucrt-x86_64-sqlcipher
|
||||||
|
mingw-w64-ucrt-x86_64-qt5-base
|
||||||
|
mingw-w64-ucrt-x86_64-qt5-multimedia
|
||||||
|
mingw-w64-ucrt-x86_64-ccmake
|
||||||
|
mingw-w64-ucrt-x86_64-rapidjson
|
||||||
|
mingw-w64-ucrt-x86_64-json-c
|
||||||
|
mingw-w64-ucrt-x86_64-libbotan
|
||||||
|
mingw-w64-ucrt-x86_64-asio
|
||||||
|
|
||||||
|
- name: Checkout submodules
|
||||||
|
run: |
|
||||||
|
env
|
||||||
|
git submodule update --init --remote libbitdht/ libretroshare/ retroshare-webui/
|
||||||
|
git submodule update --init supportlibs/librnp supportlibs/rapidjson supportlibs/restbed
|
||||||
|
|
||||||
|
- name: CI-Build
|
||||||
|
run: |
|
||||||
|
qmake . -r -spec win32-g++ "CONFIG+=release" "CONFIG+=rs_jsonapi" "CONFIG+=rs_webui" "CONFIG+=rs_autologin" "CONFIG+=no_rs_sam3" "CONFIG+=no_rs_sam3_libsam3"
|
||||||
|
mingw32-make -j3
|
Loading…
Add table
Add a link
Reference in a new issue