Linux and MacOS autopack actions
This commit is contained in:
34
.github/workflows/macOS-packaging.yml
vendored
Normal file
34
.github/workflows/macOS-packaging.yml
vendored
Normal file
@@ -0,0 +1,34 @@
|
||||
name: Auto Packaging - MacOS
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
macos-packaging:
|
||||
runs-on: macos-11
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- name: Use Python 3.9
|
||||
uses: actions/setup-python@v4
|
||||
with:
|
||||
python-version: '3.9'
|
||||
|
||||
- name: Install dependencies
|
||||
run: pip install -r ./requirements/requirements.txt
|
||||
|
||||
- name: Install PyInstaller
|
||||
run: |
|
||||
pip install pyinstaller
|
||||
|
||||
- name: Build Artemis main executable
|
||||
run: |
|
||||
cd ./spec_files/macOS
|
||||
pyinstaller Artemis.spec
|
||||
ls -lart
|
||||
|
||||
- uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: Artemis_MacOS
|
||||
path: |
|
||||
./spec_files/macOS/dist
|
||||
2
.github/workflows/windows-packaging.yml
vendored
2
.github/workflows/windows-packaging.yml
vendored
@@ -5,7 +5,7 @@ on:
|
||||
|
||||
jobs:
|
||||
windows-packaging:
|
||||
runs-on: windows-latest
|
||||
runs-on: windows-2022
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
|
||||
Reference in New Issue
Block a user