@@ -25,7 +25,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Cloning Repository
|
- name: Cloning Repository
|
||||||
run: |
|
run: |
|
||||||
git clone https://brotoskyj:${{ secrets.RUNNER_TOKEN }}@git.racooncity.org/brotoskyj/build_test --branch RustImplementation
|
git clone https://brotoskyj:${{ secrets.RUNNER_TOKEN }}@git.racooncity.org/brotoskyj/AirlockTools --branch RustImplementation
|
||||||
pwd
|
pwd
|
||||||
ls
|
ls
|
||||||
|
|
||||||
@@ -34,10 +34,10 @@ jobs:
|
|||||||
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
|
wine python.exe /quiet /NoWeb InstallAllUsers=1 PrependPath=1 TargetDir=C:/Python313
|
||||||
cp -r build_test/ ~/.wine/drive_c/Python313/
|
cp -r AirlockTools/ ~/.wine/drive_c/Python313/
|
||||||
cd ~/.wine/drive_c/Python313
|
cd ~/.wine/drive_c/Python313
|
||||||
wine python.exe -m pip install nuitka pywin32 keyring --break-system-packages
|
wine python.exe -m pip install nuitka pywin32 keyring --break-system-packages
|
||||||
wine python.exe -m pip install -r build_test/requirements.txt
|
wine python.exe -m pip install -r AirlockTools/requirements.txt
|
||||||
wine python.exe -m pip install \
|
wine python.exe -m pip install \
|
||||||
--index-url https://git.racooncity.org/api/packages/brotoskyj/pypi/simple/ \
|
--index-url https://git.racooncity.org/api/packages/brotoskyj/pypi/simple/ \
|
||||||
airlock-libs --break-system-packages
|
airlock-libs --break-system-packages
|
||||||
@@ -47,4 +47,4 @@ jobs:
|
|||||||
DISPLAY: :99
|
DISPLAY: :99
|
||||||
WINEDEBUG: -all
|
WINEDEBUG: -all
|
||||||
run: |
|
run: |
|
||||||
xvfb-run -a wine cmd /c nuitka --onefile --onefile-windows-splash-screen-image=build_test/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=build_test/IRT_icon_32-512.ico build_test/AirlockTools_client.py --deployment --assume-yes-for-downloads
|
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
|
||||||
|
|||||||
@@ -18,7 +18,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Pull Repository
|
- name: Pull Repository
|
||||||
run: |
|
run: |
|
||||||
git clone https://brotoskyj:${{ secrets.RUNNER_TOKEN }}@git.racooncity.org/brotoskyj/build_test --branch RustImplementation
|
git clone https://brotoskyj:${{ secrets.RUNNER_TOKEN }}@git.racooncity.org/brotoskyj/AirlockTools --branch RustImplementation
|
||||||
|
|
||||||
- name: Compile Library and Upload
|
- name: Compile Library and Upload
|
||||||
run: |
|
run: |
|
||||||
@@ -27,7 +27,7 @@ jobs:
|
|||||||
export TWINE_REPOSITORY_URL=https://git.racooncity.org/api/packages/brotoskyj/pypi
|
export TWINE_REPOSITORY_URL=https://git.racooncity.org/api/packages/brotoskyj/pypi
|
||||||
. "$HOME/.cargo/env"
|
. "$HOME/.cargo/env"
|
||||||
rustup target add x86_64-pc-windows-gnu
|
rustup target add x86_64-pc-windows-gnu
|
||||||
cd build_test/airlock_libs
|
cd AirlockTools/airlock_libs
|
||||||
cargo clean
|
cargo clean
|
||||||
cargo fmt
|
cargo fmt
|
||||||
cargo clippy --fix --all-targets --allow-dirty
|
cargo clippy --fix --all-targets --allow-dirty
|
||||||
|
|||||||
Reference in New Issue
Block a user