-
Notifications
You must be signed in to change notification settings - Fork 0
37 lines (32 loc) · 781 Bytes
/
BuildLinux.yml
File metadata and controls
37 lines (32 loc) · 781 Bytes
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
name: C++ Tester Linux(Unix AMD64)
on:
push:
branches: [ "main" ]
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.12
uses: actions/setup-python@v3
with:
python-version: "3.12"
- name: Install Pyinstaller
run: |
python -m pip install --upgrade pip
pip install pyinstaller
pip install -r requirements.txt
- name: Build
run: |
pyinstaller C++Tester.py
- name: Copy License
run: |
cp LICENSE dist/C++Tester/LICENSE
cp README.md dist/C++Tester/README.md
- name: Upload Artifact
uses: actions/upload-artifact@v4.6.1
with:
name: C++Tester
path: dist/*