File tree Expand file tree Collapse file tree 1 file changed +10
-9
lines changed Expand file tree Collapse file tree 1 file changed +10
-9
lines changed Original file line number Diff line number Diff line change @@ -132,6 +132,8 @@ jobs:
132
132
auto-test :
133
133
runs-on : ubuntu-22.04
134
134
needs : build-core
135
+ env :
136
+ APPIMAGE_PATH : ./love.AppImage
135
137
steps :
136
138
- uses : actions/checkout@v4
137
139
with :
@@ -148,18 +150,17 @@ jobs:
148
150
- name : Download love
149
151
shell : bash
150
152
run : |
151
- curl -OL --retry 5 https://github.com/love2d/love/releases/download/11.4/love-11.4-x86_64.AppImage
152
- chmod +x love-11.4-x86_64.AppImage
153
- - name : Prepare PulseAudio and AppImage
153
+ curl -OL --retry 5 https://github.com/love2d/love/releases/download/11.4/love-11.4-x86_64.AppImage -o ${{ env.APPIMAGE_PATH }}
154
+ chmod +x ${{ env.APPIMAGE_PATH }}
155
+ - name : Install dependencies
154
156
shell : bash
155
157
run : |
156
158
sudo apt-get update
157
- sudo apt-get install pulseaudio pulseaudio -utils pavucontrol alsa-oss alsa- utils libfuse2 -y
159
+ sudo apt-get install alsa-oss alsa -utils libfuse2 pavucontrol pulseaudio pulseaudio-utils x11-xserver- utils xvfb -y
158
160
- name : Run automated test
159
- uses : coactions/setup-xvfb@v1
160
- with :
161
- run : |
162
- ./love-11.4-x86_64.AppImage ${{ env.CORE_LOVE_PACKAGE_PATH }} --test
161
+ shell : bash
162
+ run : |
163
+ xvfb-run --auto-servernum ${{ env.APPIMAGE_PATH }} ${{ env.CORE_LOVE_PACKAGE_PATH }} --test
163
164
164
165
build-android :
165
166
runs-on : ubuntu-latest
@@ -196,7 +197,7 @@ jobs:
196
197
dir : ./libAndroid
197
198
- name : Build Android packages
198
199
id : build-packages
199
- uses : love-actions/love-actions-android@use-grable-cache
200
+ uses : love-actions/love-actions-android@v1
200
201
with :
201
202
app-name : ${{ needs.get-info.outputs.app-name }}
202
203
bundle-id : ${{ steps.process-app-name.outputs.bundle-id }}
You can’t perform that action at this time.
0 commit comments