-
Notifications
You must be signed in to change notification settings - Fork 0
51 lines (44 loc) · 1.2 KB
/
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
name: Build
on: [push]
jobs:
Windows-Build:
runs-on: windows-latest
steps:
- name: Sync Repository
uses: actions/checkout@v3
- name: Install Python
uses: actions/setup-python@v4
with:
python-version: "3.11"
cache: "pip"
- name: Install Libraries
run: |
pip install -r .\requirements-dev.txt
briefcase build -r
briefcase package
- name: Save Compiled Files
uses: actions/upload-artifact@v3
with:
name: build_files_windows
path: dist
Linux-Build:
runs-on: ubuntu-latest
steps:
- name: Sync Repository
uses: actions/checkout@v3
- name: Install Python
uses: actions/setup-python@v4
with:
python-version: "3.11"
cache: "pip"
- name: Install Libraries
run: |
sudo apt install pkg-config libcairo2-dev python3.11-dev libgirepository1.0-dev
pip install -r ./requirements-dev.txt
briefcase build -r
briefcase package
- name: Save Compiled Files
uses: actions/upload-artifact@v3
with:
name: build_files_linux
path: dist