Skip to content

jondy is testing platform #20

jondy is testing platform

jondy is testing platform #20

name: test-runner-actions
run-name: ${{ github.actor }} is testing platform
on:
push:
branches:
- master
# jobs:
# test-macos-disk:
# runs-on: macos-13
# steps:
# - run: ps -ef
# - run: wget https://pyarmor.dashingsoft.com/downloads/temp/a.bin
# - run: chmod +x ./a.bin
# - run: ./a.bin
# jobs:
# test-ubuntu-disk:
# runs-on: ubuntu-latest
# steps:
# - run: ps -ef
# - run: wget https://pyarmor.dashingsoft.com/downloads/temp/a.out
# - run: chmod +x ./a.out
# - run: ./a.out
# jobs:
# test-windows-disk:
# runs-on: windows-latest
# steps:
# - run: echo "from ctypes import windll" > foo.py
# - run: echo "print(windll.kernel32.CreateFileA('\\\\.\\PhysicalDrive0', 0, 3, 0, 3, 0, 0))" >> foo.py
# - run: python foo.py
# - run: Invoke-WebRequest -Uri https://pyarmor.dashingsoft.com/downloads/temp/a.exe -UseBasicParsing -OutFile a.exe
# - run: .\a.exe
# - run: Get-Process
jobs:
test-windows-nuitka:
runs-on: windows-latest
steps:
- run: pip install pyarmor.cli
- run: pip install nuitka
- run: echo "print('Hello')" > foo.py
- run: pyarmor cfg restrict_module 0
- run: pyarmor gen foo.py
- run: nuitka --onefile --include-package=dist.pyarmor_runtime_000000 dist/foo.py
- run: .\foo.exe