File tree 1 file changed +5
-7
lines changed
1 file changed +5
-7
lines changed Original file line number Diff line number Diff line change 13
13
run : |
14
14
sudo apt update -y
15
15
sudo apt install \
16
+ git \
16
17
build-essential \
17
18
curl \
18
19
mingw-w64 \
@@ -52,22 +53,19 @@ jobs:
52
53
53
54
- name : ' Fetch Wine'
54
55
run : |
55
- mkdir -p ${{ env.wine_dest }} wine
56
- curl -fL https://dl.winehq.org/wine/source/9.x/wine-9.2.tar.xz | \
57
- tar --strip-components=1 -xJf - -C wine
56
+ mkdir -p ${{ env.wine_dest }}
57
+ git clone https://gitlab.winehq.org/wine/wine --depth 1 --branch wine-9.2
58
58
59
59
- name : ' Apply Wine Staging patchset'
60
60
run : |
61
- mkdir -p wine-staging
62
- curl -fL https://github.com/wine-staging/wine-staging/archive/refs/tags/v9.2.tar.gz | \
63
- tar --strip-components=1 -xzf - -C wine-staging
61
+ git clone https://gitlab.winehq.org/wine/wine-staging.git --branch v9.2
64
62
wine-staging/staging/patchinstall.py --destdir=wine --all
65
63
- name : ' Apply local patches'
66
64
working-directory : wine
67
65
run : |
68
66
for p in ../*.patch; do
69
67
echo $p
70
- patch -p1 < $p
68
+ git apply --verbose $p
71
69
done
72
70
73
71
- name : ' Configure Wine'
You can’t perform that action at this time.
0 commit comments