@@ -13,19 +13,19 @@ jobs:
13
13
- uses : actions/cache@v4
14
14
with :
15
15
path : |
16
- ~/work/Nuitka-Python /Nuitka-Python-Deps
16
+ ${{ github.workspace }}/.. /Nuitka-Python-Deps
17
17
dep-build
18
18
key : ${{ runner.os }}-arm-${{ hashFiles('build.mac.sh') }}
19
19
- name : Uninstall homebrew
20
20
run : /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/uninstall.sh)"
21
21
- name : Run Build
22
- run : bash build.mac.sh
22
+ run : bash build.mac.sh "${{ github.workspace }}/../Nuitka-Python-Out"
23
23
- name : Cleanup artifact
24
- run : find ~/Library /Nuitka-Python311-arm64 \( -iname '*.o' -o -iname '__pycache__' -o -iname 'link.json' \) | xargs rm -rf
24
+ run : find "${{ github.workspace }}/.. /Nuitka-Python-Out" \( -iname '*.o' -o -iname '__pycache__' -o -iname 'link.json' \) | xargs rm -rf
25
25
- uses : actions/upload-artifact@v4
26
26
with :
27
27
name : Nuitka-Python311_mac_arm64
28
- path : ~/Library /Nuitka-Python311-arm64
28
+ path : ${{ github.workspace }}/.. /Nuitka-Python-Out
29
29
mac_x64 :
30
30
name : MacOS Intel Build
31
31
runs-on : macos-latest
@@ -35,19 +35,40 @@ jobs:
35
35
- uses : actions/cache@v4
36
36
with :
37
37
path : |
38
- ~/work/Nuitka-Python /Nuitka-Python-Deps
38
+ ${{ github.workspace }}/.. /Nuitka-Python-Deps
39
39
dep-build
40
40
key : ${{ runner.os }}-intel-${{ hashFiles('build.mac.sh') }}
41
41
- name : Uninstall homebrew
42
42
run : /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/uninstall.sh)"
43
43
- name : Run Build
44
- run : arch -x86_64 bash build.mac.sh
44
+ run : arch -x86_64 bash build.mac.sh "${{ github.workspace }}/../Nuitka-Python-Out"
45
45
- name : Cleanup artifact
46
- run : find ~/Library /Nuitka-Python311-x86_64 \( -iname '*.o' -o -iname '__pycache__' -o -iname 'link.json' \) | xargs rm -rf
46
+ run : find "${{ github.workspace }}/.. /Nuitka-Python-Out" \( -iname '*.o' -o -iname '__pycache__' -o -iname 'link.json' \) | xargs rm -rf
47
47
- uses : actions/upload-artifact@v4
48
48
with :
49
49
name : Nuitka-Python311_mac_x86_64
50
- path : ~/Library/Nuitka-Python311-x86_64
50
+ path : ${{ github.workspace }}/../Nuitka-Python-Out
51
+
52
+ linux :
53
+ name : Ubuntu Build
54
+ runs-on : ubuntu-latest
55
+ steps :
56
+ - name : Check out repository code
57
+ uses : actions/checkout@v4
58
+ - uses : actions/cache@v4
59
+ with :
60
+ path : |
61
+ ${{ github.workspace }}/../Nuitka-Python-Deps
62
+ dep-build
63
+ key : ${{ runner.os }}-${{ hashFiles('build.sh') }}
64
+ - name : Run Build
65
+ run : bash build.sh "${{ github.workspace }}/../Nuitka-Python-Out"
66
+ - name : Cleanup artifact
67
+ run : find "${{ github.workspace }}/../Nuitka-Python-Out" \( -iname '*.o' -o -iname '__pycache__' -o -iname 'link.json' \) | xargs rm -rf
68
+ - uses : actions/upload-artifact@v4
69
+ with :
70
+ name : Nuitka-Python311_ubuntu
71
+ path : ${{ github.workspace }}/../Nuitka-Python-Out
51
72
52
73
windows :
53
74
name : Windows Build
0 commit comments