mirror of
https://github.com/arabine/open-story-teller.git
synced 2025-12-06 17:09:06 +01:00
fixes actions for windows
This commit is contained in:
parent
9e73d71f4b
commit
f8ad70697c
2 changed files with 10 additions and 6 deletions
|
|
@ -1,10 +1,10 @@
|
||||||
name: BuildAndPackage
|
name: BuildStoryEditor-Linux
|
||||||
|
|
||||||
on:
|
on:
|
||||||
workflow_dispatch: {}
|
workflow_dispatch: {}
|
||||||
push:
|
schedule:
|
||||||
branches:
|
- cron: "0 0 * * *"
|
||||||
- main
|
|
||||||
env:
|
env:
|
||||||
QT_VERSION: 6.5.1
|
QT_VERSION: 6.5.1
|
||||||
|
|
||||||
|
|
@ -3,7 +3,8 @@ name: BuildStoryEditor-Windows
|
||||||
on:
|
on:
|
||||||
workflow_dispatch: {}
|
workflow_dispatch: {}
|
||||||
push:
|
push:
|
||||||
branches: [ master ]
|
branches:
|
||||||
|
- main
|
||||||
env:
|
env:
|
||||||
QT_VERSION: 6.5.1
|
QT_VERSION: 6.5.1
|
||||||
|
|
||||||
|
|
@ -12,6 +13,8 @@ jobs:
|
||||||
runs-on: windows-latest
|
runs-on: windows-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
with:
|
||||||
|
submodules: recursive
|
||||||
- uses: ilammy/msvc-dev-cmd@v1
|
- uses: ilammy/msvc-dev-cmd@v1
|
||||||
- uses: actions/setup-python@v2
|
- uses: actions/setup-python@v2
|
||||||
with:
|
with:
|
||||||
|
|
@ -30,7 +33,8 @@ jobs:
|
||||||
- name: build
|
- name: build
|
||||||
working-directory: ./story-editor
|
working-directory: ./story-editor
|
||||||
run : |
|
run : |
|
||||||
mkdir build && cd build
|
mkdir build
|
||||||
|
cd build
|
||||||
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH=${{ github.workspace }}\Qt\6.5.1\msvc2019_64 -DQT_DIR=${{ github.workspace }}\Qt\6.5.1\msvc2019_64\lib\cmake\Qt6 -G Ninja ..
|
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH=${{ github.workspace }}\Qt\6.5.1\msvc2019_64 -DQT_DIR=${{ github.workspace }}\Qt\6.5.1\msvc2019_64\lib\cmake\Qt6 -G Ninja ..
|
||||||
ninja
|
ninja
|
||||||
ls
|
ls
|
||||||
Loading…
Reference in a new issue