Skip to content

Build RetroED

Build RetroED #33

Workflow file for this run

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