mirror of
https://github.com/Xevion/orianne.git
synced 2025-12-06 03:15:40 -06:00
35 lines
858 B
YAML
35 lines
858 B
YAML
on:
|
|
push:
|
|
branches: [master]
|
|
pull_request:
|
|
branches: [master]
|
|
|
|
env:
|
|
BUILD_TYPE: Release
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-22.04
|
|
|
|
steps:
|
|
- 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
|