2727# -----------------------------------------------------------------------------
2828
2929
30-
31-
3230name : ' Build xPack WineHQ linux-x64'
3331
3432on :
6866 default : ' xpack-development'
6967
7068jobs :
71-
72-
7369 linux-x64-build :
7470 name : ' linux-x64 wine ${{github.event.inputs.version}} build'
75- timeout-minutes : 5760 # 4 days
71+ timeout-minutes : 2880 # 2 days
7672 runs-on : [self-hosted, linux, x64, xbblix]
77- container :
78- image : ilegeul/debian:amd64-10-xbb-v6.0.0
7973 defaults :
8074 run :
8175 shell : bash
@@ -108,40 +102,20 @@ jobs:
108102 npm install --location=global xpm@${{github.event.inputs.xpm_version}}
109103 xpm --version
110104
111- - name : ' Install project dependencies'
112- timeout-minutes : 1440
113- run : xpm install --loglevel ${{github.event.inputs.xpm_install_loglevel}} ${{github.event.inputs.xpm_install_options}} -C build-assets
114-
115105 - name : ' Build linux-x64 binaries'
116106 timeout-minutes : 1440
117107 run : |
118- xpm install --config linux-x64 --loglevel ${{github.event.inputs.xpm_install_loglevel}} ${{github.event.inputs.xpm_install_options}} -C build-assets
119- xpm run build --config linux-x64 -C build-assets
120-
121- linux-x64-upload :
122- name : ' linux-x64 wine ${{github.event.inputs.version}} upload'
123- timeout-minutes : 5760 # 4 days
124- runs-on : [self-hosted, linux, x64, xbblix]
125- defaults :
126- run :
127- shell : bash
128- needs : [linux-x64-build]
129-
130- steps :
131- - name : ' Show environment'
132- run : |
133- uname -a
134- lsb_release -sd
135- echo "whoami: $(whoami)"
136- echo "pwd: $(pwd)"
137- ls -lLA
138- env | sort | grep -E '^[^ \t]+='
108+ xpm install --loglevel ${{github.event.inputs.xpm_install_loglevel}} ${{github.event.inputs.xpm_install_options}} -C build-assets
109+ xpm run docker-prepare --config linux-x64 --loglevel ${{github.event.inputs.xpm_install_loglevel}} ${{github.event.inputs.xpm_install_options}} -C build-assets
110+ xpm run docker-build --config linux-x64 -C build-assets
111+ ls -l build-assets/build/linux-x64/application
112+ ls -l build-assets/build/linux-x64/deploy
139113
140114 - name : Upload platform artefacts
141115 uses : actions/upload-artifact@v4
142116 with :
143117 name : deploy-linux-x64
144- path : ${{github.workspace}}/build/linux-x64/deploy/*
118+ path : ${{github.workspace}}/build-assets/build /linux-x64/deploy/*
145119 overwrite : true
146120
147121 - name : ' Publish pre-release'
@@ -171,7 +145,7 @@ jobs:
171145 linux-x64-test :
172146 name : ' linux-x64 wine ${{github.event.inputs.version}} test'
173147 runs-on : ubuntu-24.04
174- needs : [linux-x64-upload ]
148+ needs : [linux-x64-build ]
175149
176150 steps :
177151 - name : ' Show environment'
@@ -183,6 +157,7 @@ jobs:
183157 ls -lLA
184158 env | sort | grep -E '^[^ \t]+='
185159
160+ # https://github.com/actions/checkout
186161 - name : ' Checkout project'
187162 uses : actions/checkout@v4
188163 with :
@@ -198,6 +173,3 @@ jobs:
198173
199174 - name : ' Run ${{github.event.inputs.version}} native test'
200175 run : bash build-assets/scripts/test.sh --image github-actions-ubuntu-latest --version ${{github.event.inputs.version}} --base-url pre-release
201-
202-
203-
0 commit comments