This repository has been archived by the owner on Jul 9, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 113
57 lines (49 loc) · 1.51 KB
/
build.yaml
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
# Build workflow
# Builds the application for windows and ubuntu to test whether the latest commit builds or not.
name: build
on:
push:
workflow_dispatch:
jobs:
build-windows:
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/[email protected]
- name: Write version file
run: echo development > version.txt
- name: Setup Python
uses: actions/[email protected]
with:
python-version: 3.9
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Build Windows
run: pyinstaller --clean --noconfirm specs/windows-terminservice.spec
- name: Build Windows GUI
run: pyinstaller --clean --noconfirm specs/windows-terminservice-gui.spec
build-linux:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/[email protected]
- name: Write version file
run: echo development > version.txt
- name: Print directory
run: pwd
- name: List directory
run: ls -lah
- name: print version file
run: cat version.txt
- name: Setup Python
uses: actions/[email protected]
with:
python-version: 3.9
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Build Linux
run: pyinstaller --clean --noconfirm specs/linux-64-terminservice.spec