mirror of
https://github.com/KnugiHK/WhatsApp-Chat-Exporter.git
synced 2026-08-24 21:15:29 +02:00
Add macos-13-arm64
This commit is contained in:
@@ -80,3 +80,27 @@ jobs:
|
|||||||
name: binary-macos
|
name: binary-macos
|
||||||
path: |
|
path: |
|
||||||
./wtsexporter_macos_x64
|
./wtsexporter_macos_x64
|
||||||
|
|
||||||
|
macos-arm64:
|
||||||
|
runs-on: macos-13-arm64
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
- name: Set up Python
|
||||||
|
uses: actions/setup-python@v4
|
||||||
|
with:
|
||||||
|
python-version: '3.10'
|
||||||
|
- name: Install dependencies
|
||||||
|
run: |
|
||||||
|
python -m pip install --upgrade pip
|
||||||
|
pip install pycryptodome javaobj-py3 ordered-set zstandard nuitka
|
||||||
|
pip install .
|
||||||
|
- name: Build binary with Nuitka
|
||||||
|
run: |
|
||||||
|
python -m nuitka --no-deployment-flag=self-execution --onefile --include-data-file=./Whatsapp_Chat_Exporter/whatsapp.html=./Whatsapp_Chat_Exporter/whatsapp.html --follow-imports Whatsapp_Chat_Exporter/__main__.py
|
||||||
|
cp __main__.bin wtsexporter_macos_x64
|
||||||
|
shasum -a 256 wtsexporter_macos_x64
|
||||||
|
- uses: actions/upload-artifact@v3
|
||||||
|
with:
|
||||||
|
name: binary-macos
|
||||||
|
path: |
|
||||||
|
./wtsexporter_macos_x64
|
||||||
|
|||||||
Reference in New Issue
Block a user