mirror of
https://github.com/Xevion/orianne.git
synced 2025-12-15 12:12:27 -06:00
44 lines
1.0 KiB
YAML
44 lines
1.0 KiB
YAML
on:
|
|
push:
|
|
branches: [master]
|
|
pull_request:
|
|
branches: [master]
|
|
|
|
env:
|
|
BUILD_TYPE: Release
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-22.04
|
|
defaults:
|
|
run:
|
|
shell: msys2 {0}
|
|
|
|
steps:
|
|
- uses: msys2/setup-msys2@v3
|
|
with:
|
|
install: mingw-w64-x86_64-toolchain
|
|
msystem: mingw64
|
|
release: false
|
|
|
|
- name: Install Qt
|
|
uses: jurplel/install-qt-action@v2
|
|
with:
|
|
version: "6.5.2"
|
|
host: "linux"
|
|
target: "desktop"
|
|
arch: "gcc_64"
|
|
dir: "${{github.workspace}}/qt/"
|
|
install-deps: "true"
|
|
|
|
- name: List files in Qt
|
|
run: find ${{env.Qt5_Dir}}
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- name: Configure CMake
|
|
run: cmake -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DCMAKE_PREFIX_PATH="${{env.Qt5_Dir}}/lib/cmake/" -DQt5_DIR=${{env.Qt5_Dir}}/lib/cmake/Qt5/ -G "CodeBlocks - MinGW Makefiles" -B '${{github.workspace}}'/build
|
|
|
|
- name: Build
|
|
run: cmake --build '${{github.workspace}}'/build --target RePr
|