5 Commits

Author SHA1 Message Date
AresValley
d2e0ece9eb Linux and MacOS autopack actions 2022-10-01 19:40:06 +02:00
AresValley
d1716621b0 Auto packaging script for Linux OS 2022-10-01 12:30:32 +02:00
AresValley
cd5d31b404 Updated changelog 2022-09-30 22:37:22 +02:00
AresValley
5a1db2c0d4 Updated version info 2022-09-30 22:33:25 +02:00
AresValley
e4fdf1d564 Changed python version (3.10->3.9) for packaging 2022-09-30 22:10:12 +02:00
6 changed files with 109 additions and 7 deletions

64
.github/workflows/linux-packaging.yml vendored Normal file
View File

@@ -0,0 +1,64 @@
name: Auto Packaging - Linux
on:
workflow_dispatch:
jobs:
linux-packaging:
runs-on: ubuntu-20.04
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/Linux
mkdir output
mkdir output/artemis
pyinstaller Artemis.spec
mv -v ./dist/Artemis ./output/Artemis
rm -rfv dist build
pyinstaller updater.spec
mv -v ./dist/_ArtemisUpdater ./output/_ArtemisUpdater
rm -rfv dist build
echo "Create single archives"
cd output
cp -r ../../../src/themes artemis/themes
rm -f artemis/themes/__current_theme
cp Artemis artemis/Artemis
cp _ArtemisUpdater artemis/_ArtemisUpdater
tar -czvf Artemis_linux.tar.gz Artemis -C artemis themes
tar -czvf _ArtemisUpdater_linux.tar.gz ./_ArtemisUpdater
echo "Create full archive for website"
cp ../artemis3.svg artemis
cp ../create_shortcut.sh artemis
tar -czvf ArtemisWebDownlaod_linux.tar.gz artemis
echo "Get size and sha256"
python ../../__get_hash_code.py Artemis_linux.tar.gz _ArtemisUpdater_linux.tar.gz ArtemisWebDownlaod_linux.tar.gz > checksum.txt
- uses: actions/upload-artifact@v3
with:
name: Artemis_Linux
path: |
./spec_files/Linux/output/Artemis_linux.tar.gz
./spec_files/Linux/output/_ArtemisUpdater_linux.tar.gz
./spec_files/Linux/output/ArtemisWebDownlaod_linux.tar.gz
./spec_files/Linux/output/checksum.txt

34
.github/workflows/macOS-packaging.yml vendored Normal file
View 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

View File

@@ -5,14 +5,14 @@ on:
jobs: jobs:
windows-packaging: windows-packaging:
runs-on: windows-latest runs-on: windows-2022
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- name: Use Python 3.10 - name: Use Python 3.9
uses: actions/setup-python@v4 uses: actions/setup-python@v4
with: with:
python-version: '3.10' python-version: '3.9'
- name: Install dependencies - name: Install dependencies
run: pip install -r ./requirements/requirements.txt run: pip install -r ./requirements/requirements.txt
@@ -21,7 +21,7 @@ jobs:
run: | run: |
pip install pyinstaller pip install pyinstaller
- name: Build Artemis main executables and - name: Build Artemis main executables
run: | run: |
CD spec_files\Windows CD spec_files\Windows

View File

@@ -3,6 +3,10 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
The first release is [3.0.0] because this is actually the third major version (completely rewritten) of the software. The first release is [3.0.0] because this is actually the third major version (completely rewritten) of the software.
## [3.2.4] - 2022-09-30
### Fixed
- Fixed crash on opening the Rx/Tx Condition tab
## [3.2.3] - 2022-09-29 ## [3.2.3] - 2022-09-29
### Added ### Added
- Add auto-packaging feature using GitHub actions for Windows OS (experimental) - Add auto-packaging feature using GitHub actions for Windows OS (experimental)

View File

@@ -33,8 +33,8 @@ For more information, follow [the main page of Artemis 3](https://aresvalley.com
**Requirements:** **Requirements:**
- Windows 7/8/8.1/10 - Windows 7/8/8.1/10
- Linux: Ubuntu 18.04+, Mint 19+, Fedora 28+ and many other. **You need at least version 2.27 of the GLIBC system library** ([details](https://github.com/AresValley/Artemis/tree/master/spec_files)) - Linux: Ubuntu 20.04+, Mint 20+, Fedora 32+ and many other. **You need at least version 2.31 of the GLIBC system library** ([details](https://github.com/AresValley/Artemis/tree/master/spec_files))
- macOS - macOS 11+ (Big Sur or later)
### Run from source code ### Run from source code
Run the software from the source code with the Python interpreter is the simplest and natural way to run Artemis 3. Run the software from the source code with the Python interpreter is the simplest and natural way to run Artemis 3.

View File

@@ -64,7 +64,7 @@ import loggingconf # noqa 401
# import default_imgs_rc # import default_imgs_rc
__LATEST_VERSION__ = "3.2.3" __LATEST_VERSION__ = "3.2.4"
if IS_BINARY: if IS_BINARY:
__VERSION__ = __LATEST_VERSION__ __VERSION__ = __LATEST_VERSION__