-
Notifications
You must be signed in to change notification settings - Fork 8
41 lines (37 loc) · 1.09 KB
/
manual.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
name: Build RetroED
on: workflow_dispatch
jobs:
win-build:
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup MSVC
uses: ilammy/msvc-dev-cmd@v1
- name: Install Qt
uses: jurplel/install-qt-action@v4
with:
cache: true
- name: Download Jom
run: |
Invoke-WebRequest http://download.qt.io/official_releases/jom/jom.zip -OutFile "jom.zip"
mkdir build
Expand-Archive -Path jom.zip -DestinationPath build
- name: Run versiongen
working-directory: RetroEDv2
run: |
py -m pip install pytz
py versiongen.py $Env:GITHUB_SHA
- name: Build RetroED
working-directory: build
run: |
qmake ../RetroEDv2/RetroEDv2.pro -spec win32-msvc -config release "CONFIG+=qtquickcompiler"
./jom -j4
- name: Move Artifacts
run: |
move build/release/RetroED.exe build/release/deploy/RetroED.exe
- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: RetroED-win
path: build/release/deploy