Skip to content

Commit

Permalink
CI: Add workflow for generating UI files.
Browse files Browse the repository at this point in the history
  • Loading branch information
jamievlin committed Aug 25, 2024
1 parent 9e6ab91 commit 9a8d8f8
Showing 1 changed file with 48 additions and 0 deletions.
48 changes: 48 additions & 0 deletions .github/workflows/build-gui.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
name: build-gui
on:
workflow_dispatch:
pull_request:
branches:
- "master"
- "a/*"
jobs:
build-gui-linux:
runs-on: "ubuntu-22.04"
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 1
- name: install dependencies
run: python3 -m pip install -r GUI/requirements.dev.txt -r GUI/requirements.txt
- name: build GUI files
run: cd GUI && python3 buildtool.py build
- name: Archive generated GUI files
uses: actions/upload-artifact@v4
with:
name: cmake-linux-gui-files
path: |
GUI/xasyicons
GUI/xasyqtui
GUI/xasyversion
build-gui-windows:
runs-on: "windows-2022"
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 1
- name: install dependencies
run: python.exe -m pip install -r GUI/requirements.dev.txt -r GUI/requirements.txt
- name: build GUI files
shell: pwsh
run: |
Push-Location GUI
python.exe buildtool.py build
Pop-Location
- name: Archive generated GUI files
uses: actions/upload-artifact@v4
with:
name: cmake-windows-gui-files
path: |
GUI/xasyicons
GUI/xasyqtui
GUI/xasyversion

0 comments on commit 9a8d8f8

Please sign in to comment.