Skip to content

Commit

Permalink
fix auto test: use appimage love instead of tar gz (#1141)
Browse files Browse the repository at this point in the history
* use appimage love instead of tar gz

* install libfuse2 to run appimage

* replace deprecated `GabrielBB/xvfb-action`
  • Loading branch information
ImpleLee committed Aug 29, 2024
1 parent ca6f701 commit 6c6ff26
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ jobs:
prerelease: ${{ startsWith(github.ref, 'refs/tags/pre') }}

auto-test:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
needs: build-core
steps:
- uses: actions/checkout@v3
Expand All @@ -148,17 +148,18 @@ jobs:
- name: Download love
shell: bash
run: |
curl -OL --retry 5 https://github.com/love2d/love/releases/download/11.4/love-11.4-x86_64.tar.gz | tar xz
- name: Prepare PulseAudio
curl -OL --retry 5 https://github.com/love2d/love/releases/download/11.4/love-11.4-x86_64.AppImage
chmod +x love-11.4-x86_64.AppImage
- name: Prepare PulseAudio and AppImage
shell: bash
run: |
sudo apt-get update
sudo apt-get install pulseaudio pulseaudio-utils pavucontrol alsa-oss alsa-utils -y
sudo apt-get install pulseaudio pulseaudio-utils pavucontrol alsa-oss alsa-utils libfuse2 -y
- name: Run automated test
uses: GabrielBB/xvfb-action@v1
uses: coactions/setup-xvfb@v1
with:
run: |
./dest/love ${{ env.CORE_LOVE_PACKAGE_PATH }} --test
./love-11.4-x86_64.AppImage ${{ env.CORE_LOVE_PACKAGE_PATH }} --test
build-android:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 6c6ff26

Please sign in to comment.