mirror of
https://github.com/Xevion/orianne.git
synced 2025-12-06 01:15:34 -06:00
Commit initial build workflow
This commit is contained in:
43
.github/workflows/build.yaml
vendored
Normal file
43
.github/workflows/build.yaml
vendored
Normal file
@@ -0,0 +1,43 @@
|
|||||||
|
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
|
||||||
Reference in New Issue
Block a user