File tree 1 file changed +31
-3
lines changed
1 file changed +31
-3
lines changed Original file line number Diff line number Diff line change @@ -14,18 +14,18 @@ jobs:
14
14
15
15
strategy :
16
16
matrix :
17
- os : [macos-latest, ubuntu-20.04, windows-latest]
17
+ # os: [macos-latest, ubuntu-20.04, windows-latest]
18
+ os : [macos-latest]
18
19
19
20
steps :
20
21
- uses : actions/checkout@v4
21
22
with :
22
23
fetch-depth : 0
23
24
24
25
- name : Setup Python
25
- uses : actions/setup-python@v4
26
+ uses : actions/setup-python@v5
26
27
with :
27
28
python-version : ' 3.10'
28
- architecture : ' x64'
29
29
cache : ' pip'
30
30
cache-dependency-path : |
31
31
pyproject.toml
39
39
make lint
40
40
# `import pyglet` crashes on ubuntu-latest due to missing X window system
41
41
if : matrix.os == 'macos-latest'
42
+
43
+ - name : Build Executable
44
+ uses : Nuitka/Nuitka-Action@main
45
+ with :
46
+ nuitka-version : main
47
+ script-name : imshow
48
+ standalone : true
49
+ onefile : false
50
+
51
+ - name : Test Executable
52
+ run : |
53
+ ./build/imshow.dist/imshow.bin --version
54
+ ls ./build/imshow.dist
55
+ # `import pyglet` crashes on ubuntu-latest due to missing X window system
56
+ if : matrix.os == 'macos-latest'
57
+
58
+ # - name: Rename Executable
59
+ # run: |
60
+ # mv build/imshow.bin build/imshow-${{ runner.os }}.bin
61
+ # if: matrix.os != 'windows-latest'
62
+ #
63
+ # - name: Upload Artifacts
64
+ # uses: actions/upload-artifact@v4
65
+ # with:
66
+ # name: build-${{ runner.os }}
67
+ # path: |
68
+ # build/*.exe
69
+ # build/*.bin
You can’t perform that action at this time.
0 commit comments