-
Notifications
You must be signed in to change notification settings - Fork 13
75 lines (59 loc) · 1.54 KB
/
github-build.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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
name: Building Uniblow binaries
on:
push:
tags: '*'
branches: [ cicd, test_*]
jobs:
build_win:
runs-on: windows-2022
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.10'
architecture: 'x64'
- name: Build bin package
run: |
cd package
./Build-Windows.bat
- name: 'Archive windows bin (unsigned!)'
uses: actions/upload-artifact@v4
with:
name: windist-unsigned
path: |
dist/
build_linux:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Prepare Linux system
run: |
sudo apt update
sudo apt install -y xvfb curl libnotify4 libgtk-3-0 libsdl2-2.0-0 libsdl2-dev libpcsclite-dev
sudo apt install -y python3-venv python3-pip python3-pyscard
- name: Build bin package
run: |
xvfb-run --server-args='-screen 0, 1024x768x24' bash package/Build-Linux.sh
- name: 'Archive linux bin (unsigned!)'
uses: actions/upload-artifact@v4
with:
name: nuxdist-unsigned
path: |
dist/
build_mac:
runs-on: macos-11
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.9'
- name: Build bin package
run: |
./package/Build-Mac.sh
- name: 'Archive MacOS bin (unsigned!)'
uses: actions/upload-artifact@v4
with:
name: macdist-unsigned
path: |
dist/