mirror of
https://github.com/KnugiHK/WhatsApp-Chat-Exporter.git
synced 2026-06-05 15:45:31 +00:00
24
.github/workflows/compile-binary.yml
vendored
24
.github/workflows/compile-binary.yml
vendored
@@ -80,27 +80,3 @@ 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