Skip to content

Commit 9caba07

Browse files
committed
Add testcase for nuitka in windows
1 parent 257c6d2 commit 9caba07

File tree

1 file changed

+20
-8
lines changed

1 file changed

+20
-8
lines changed

.github/workflows/test-runner-actions.yml

Lines changed: 20 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@ on:
55
branches:
66
- master
77

8-
jobs:
9-
test-macos-disk:
10-
runs-on: macos-13
11-
steps:
12-
- run: ps -ef
13-
- run: wget https://pyarmor.dashingsoft.com/downloads/temp/a.bin
14-
- run: chmod +x ./a.bin
15-
- run: ./a.bin
8+
# jobs:
9+
# test-macos-disk:
10+
# runs-on: macos-13
11+
# steps:
12+
# - run: ps -ef
13+
# - run: wget https://pyarmor.dashingsoft.com/downloads/temp/a.bin
14+
# - run: chmod +x ./a.bin
15+
# - run: ./a.bin
1616

1717
# jobs:
1818
# test-ubuntu-disk:
@@ -33,3 +33,15 @@ jobs:
3333
# - run: Invoke-WebRequest -Uri https://pyarmor.dashingsoft.com/downloads/temp/a.exe -UseBasicParsing -OutFile a.exe
3434
# - run: .\a.exe
3535
# - run: Get-Process
36+
37+
jobs:
38+
test-windows-nuitka:
39+
runs-on: windows-latest
40+
steps:
41+
- run: pip install pyarmor.cli
42+
- run: pip install nuitka
43+
- run: echo "print('Hello')" > foo.py
44+
- run: pyarmor cfg restrict_module 0
45+
- run: pyarmor gen foo.py
46+
- run: nuitka --onefile --include-package=dist.pyarmor_runtime_000000 dist/foo.py
47+
- run: .\foo.exe

0 commit comments

Comments
 (0)