Removed auto loxide build until we can get the windows build working
This commit is contained in:
+52
-47
@@ -1,47 +1,52 @@
|
|||||||
name: Build EXE and Release
|
##name: Build EXE and Release
|
||||||
run-name: ${{ gitea.actor }}
|
##run-name: ${{ gitea.actor }}
|
||||||
on:
|
##on:
|
||||||
push:
|
## push:
|
||||||
branches:
|
## branches:
|
||||||
- master
|
## - master
|
||||||
|
##
|
||||||
jobs:
|
##jobs:
|
||||||
Build and Release:
|
## Build and Release:
|
||||||
runs-on: debian-stable
|
## runs-on: debian-stable
|
||||||
env:
|
## env:
|
||||||
DISPLAY: :99
|
## DISPLAY: :99
|
||||||
|
##
|
||||||
steps:
|
## steps:
|
||||||
- name: Install Prerequisites
|
## - name: Install Prerequisites
|
||||||
run: |
|
## run: |
|
||||||
dpkg --add-architecture i386
|
## dpkg --add-architecture i386
|
||||||
apt update > /dev/null 2>&1
|
## apt update > /dev/null 2>&1
|
||||||
apt install git curl wine32:i386 xvfb -y > /dev/null 2>&1
|
## apt install git curl wine32:i386 xvfb -y > /dev/null 2>&1
|
||||||
|
##
|
||||||
- name: Start X Virtual Framebuffer (Xvfb)
|
## - name: Start X Virtual Framebuffer (Xvfb)
|
||||||
run: |
|
## run: |
|
||||||
# Start Xvfb in the background using the defined display number
|
## # Start Xvfb in the background using the defined display number
|
||||||
Xvfb :99 -screen 0 1024x768x16 &
|
## Xvfb :99 -screen 0 1024x768x16 &
|
||||||
|
##
|
||||||
- name: Cloning Repository
|
## - name: Cloning Repository
|
||||||
run: |
|
## run: |
|
||||||
git clone https://brotoskyj:${{ secrets.RUNNER_TOKEN }}@git.racooncity.org/brotoskyj/AirlockTools --branch RustImplementation
|
## git clone https://brotoskyj:${{ secrets.RUNNER_TOKEN }}@git.racooncity.org/brotoskyj/AirlockTools --branch RustImplementation
|
||||||
pwd
|
## pwd
|
||||||
ls
|
## ls
|
||||||
|
##
|
||||||
- name: Setting Up Build Environment
|
## - name: Setting Up Build Environment
|
||||||
run: |
|
## run: |
|
||||||
apt install wine64 -y -qq > /dev/null 2>&1
|
## apt install wine64 -y -qq > /dev/null 2>&1
|
||||||
curl -L -o python.exe https://www.python.org/ftp/python/3.13.9/python-3.13.9-amd64.exe
|
## curl -L -o python.exe https://www.python.org/ftp/python/3.13.9/python-3.13.9-amd64.exe
|
||||||
wine python.exe /quiet /NoWeb InstallAllUsers=1 PrependPath=1 TargetDir=C:/Python313
|
## wget https://download.visualstudio.microsoft.com/download/pr/0c8b0c6f-3d30-4d06-98d8-3a7a42f3e78a/64c0b0f3b8b2d0e11d9a2303d5e39a22/ndp472-devpack-ENU.exe -O dotnet472.exe
|
||||||
cp -r AirlockTools/ ~/.wine/drive_c/Python313/
|
## wget https://aka.ms/vs/16/release/vs_buildtools.exe -O vstools2019.exe
|
||||||
cd ~/.wine/drive_c/Python313
|
## wine dotnet472.exe /q /norestart /ChainingPackage ADMINDEPLOYMENT /log dotnet472.log
|
||||||
wine python.exe -m pip install nuitka pywin32 keyring --break-system-packages
|
## wine python.exe /quiet /NoWeb InstallAllUsers=1 PrependPath=1 TargetDir=C:/Python313
|
||||||
wine python.exe -m pip install -r AirlockTools/requirements.txt
|
## wine vstools2019.exe --quiet --wait --norestart --nocache --installPath "C:\\BuildTools" --add Microsoft.VisualStudio.Workload.VCTools --includeRecommended --acceptEula
|
||||||
|
## cp -r AirlockTools/ ~/.wine/drive_c/Python313/
|
||||||
- name: Build Executable
|
## cd ~/.wine/drive_c/Python313
|
||||||
env:
|
## wine python.exe -m pip install nuitka pywin32 keyring --break-system-packages
|
||||||
DISPLAY: :99
|
## wine python.exe -m pip install -r AirlockTools/requirements.txt
|
||||||
WINEDEBUG: -all
|
##
|
||||||
run: |
|
## - name: Build Executable
|
||||||
xvfb-run -a wine cmd /c nuitka --onefile --onefile-windows-splash-screen-image=AirlockTools/loading.png --follow-imports --include-module=keyring.backends.Windows --include-module=win32cred --include-module=pywintypes --include-module=pythoncom --include-module=win32api --include-module=win32security --include-module=win32con --windows-product-name='LoXide' --windows-product-version='1.2.10.0' --windows-company-name='WVUM IRT' --windows-icon-from-ico=AirlockTools/IRT_icon_32-512.ico AirlockTools/AirlockTools_client.py --deployment --assume-yes-for-downloads
|
## env:
|
||||||
|
## DISPLAY: :99
|
||||||
|
## WINEDEBUG: -all
|
||||||
|
## run: |
|
||||||
|
## xvfb-run -a wine cmd /c nuitka --onefile --onefile-windows-splash-screen-image=AirlockTools/loading.png --mingw64 --follow-imports --include-module=keyring.backends.Windows --include-module=win32cred --include-module=pywintypes --include-module=pythoncom --include-module=win32api --include-module=win32security --include-module=win32con --windows-product-name='LoXide' --windows-product-version='1.2.10.0' --windows-company-name='WVUM IRT' --windows-icon-from-ico=AirlockTools/IRT_icon_32-512.ico AirlockTools/AirlockTools_client.py --deployment --assume-yes-for-downloads
|
||||||
|
##
|
||||||
Reference in New Issue
Block a user