@@ -4,15 +4,12 @@ name: CI
4
4
5
5
# Controls when the action will run.
6
6
on :
7
- # Build at 00:00 on every 12th day-of-month.
8
- schedule :
9
- - cron : " 0 0 */12 * *"
10
- # Triggers the workflow on push or pull request events but only for the master branch
7
+ # Triggers the workflow on push or pull request events but only for the old-v8 branch
11
8
push :
12
- branches : [ master ]
9
+ branches : [ old-v8 ]
13
10
paths-ignore : [ '**/README.md' ]
14
11
pull_request :
15
- branches : [ master ]
12
+ branches : [ old-v8 ]
16
13
paths-ignore : [ '**/README.md' ]
17
14
18
15
# Allows you to run this workflow manually from the Actions tab
36
33
wget -q "https://github.com/AppImageCrafters/appimage-builder/releases/download/v1.0.3/appimage-builder-1.0.3-x86_64.AppImage" -O appimage-builder ; chmod +x appimage-builder ; ./appimage-builder --appimage-extract &>/dev/null
37
34
mkdir -p /usr/share/icons/hicolor/scalable/ ; cp wine.svg /usr/share/icons/hicolor/scalable/
38
35
# stable
39
- echo "WINE_VER=stable_$(wget -qO- https://dl.winehq.org/wine-builds/ubuntu/dists/jammy/main/binary-amd64/ | grep wine-stable | sed 's|_| |g;s|~| |g' | awk '{print $5}' | tail -n1)" >> $GITHUB_ENV
36
+ # echo "WINE_VER=stable_$(wget -qO- https://dl.winehq.org/wine-builds/ubuntu/dists/jammy/main/binary-amd64/ | grep wine-stable | sed 's|_| |g;s|~| |g' | awk '{print $5}' | tail -n1)" >> $GITHUB_ENV
37
+ echo "WINE_VER=stable_8.0.2" >> $GITHUB_ENV
40
38
# Nvidia
41
39
# echo "NVDV=$(wget "https://launchpad.net/~graphics-drivers/+archive/ubuntu/ppa/+packages?field.name_filter=&field.status_filter=published&field.series_filter=kinetic" -qO- | grep -Eo drivers-.*changes | sed -r "s|_| |g;s|-| |g" | tail -n1 | awk '{print $9}')" >> $GITHUB_ENV
42
40
57
55
- name : release
58
56
uses : marvinpinto/action-automatic-releases@6273874b61ebc8c71f1a61b2d98e234cf389b303
59
57
with :
60
- title : Continuous build (stable)
61
- automatic_release_tag : continuous- stable
58
+ title : build (stable) v8
59
+ automatic_release_tag : stable-v8
62
60
prerelease : false
63
61
draft : false
64
62
files : /home/runner/work/WINE_AppImage/WINE_AppImage/*.AppImage*
@@ -106,8 +104,8 @@ jobs:
106
104
- name : release
107
105
uses : marvinpinto/action-automatic-releases@6273874b61ebc8c71f1a61b2d98e234cf389b303
108
106
with :
109
- title : Continuous build (devel)
110
- automatic_release_tag : continuous- devel
107
+ title : build (devel) v8
108
+ automatic_release_tag : devel-v8
111
109
prerelease : false
112
110
draft : false
113
111
files : /home/runner/work/WINE_AppImage/WINE_AppImage/*.AppImage*
@@ -155,51 +153,8 @@ jobs:
155
153
- name : release
156
154
uses : marvinpinto/action-automatic-releases@6273874b61ebc8c71f1a61b2d98e234cf389b303
157
155
with :
158
- title : Continuous build (staging)
159
- automatic_release_tag : continuous-staging
160
- prerelease : false
161
- draft : false
162
- files : /home/runner/work/WINE_AppImage/WINE_AppImage/*.AppImage*
163
- repo_token : ${{ secrets.GITHUB_TOKEN }}
164
-
165
- # This workflow contains a single job called "build-staging-ge-proton"
166
- build-staging-ge-proton :
167
- # The type of runner that the job will run on
168
- runs-on : ubuntu-latest
169
-
170
- # Steps represent a sequence of tasks that will be executed as part of the job
171
- steps :
172
- # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
173
- - uses : actions/checkout@v3
174
-
175
- - name : Prerequisites
176
- run : |
177
- wget -q "https://github.com/AppImageCrafters/appimage-builder/releases/download/v1.0.3/appimage-builder-1.0.3-x86_64.AppImage" -O appimage-builder ; chmod +x appimage-builder ; ./appimage-builder --appimage-extract &>/dev/null
178
- mkdir -p /usr/share/icons/hicolor/scalable/ ; cp wine.svg /usr/share/icons/hicolor/scalable/
179
- # staging
180
- echo "WINE_VER=staging_ge-proton_$(wget -qO- "https://github.com/GloriousEggroll/wine-ge-custom/tags" | grep -Eo "GE-P.*" | head -1 | sed -r 's|-GE||g;s|"| |g;s|n| |g' | awk '{print $2}')" >> $GITHUB_ENV
181
- # Nvidia
182
- # echo "NVDV=$(wget "https://launchpad.net/~graphics-drivers/+archive/ubuntu/ppa/+packages?field.name_filter=&field.status_filter=published&field.series_filter=kinetic" -qO- | grep -Eo drivers-.*changes | sed -r "s|_| |g;s|-| |g" | tail -n1 | awk '{print $9}')" >> $GITHUB_ENV
183
-
184
- # Runs a set of commands using the runners shell
185
- - name : Build appimage
186
- run : |
187
- # add custom mksquashfs
188
- cp runtime/mksquashfs squashfs-root/usr/bin/mksquashfs
189
-
190
- # force zstd format in appimagebuilder for appimages
191
- rm appimage-builder ; sed -i 's|xz|zstd|' squashfs-root/usr/lib/python3.8/site-packages/appimagebuilder/modules/prime/appimage_primer.py
192
-
193
- # set Nvidia driver version
194
- # sed -i "s|520|$NVDV|" wine-staging-ge-proton.yml
195
-
196
- squashfs-root/AppRun --recipe wine-staging-ge-proton.yml
197
-
198
- - name : release
199
- uses : marvinpinto/action-automatic-releases@6273874b61ebc8c71f1a61b2d98e234cf389b303
200
- with :
201
- title : Continuous build (staging) GE Proton
202
- automatic_release_tag : continuous-staging_ge_proton
156
+ title : build (staging) v8
157
+ automatic_release_tag : staging-v8
203
158
prerelease : false
204
159
draft : false
205
160
files : /home/runner/work/WINE_AppImage/WINE_AppImage/*.AppImage*
0 commit comments