diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 19f4cdf39..854dec776 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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 @@ -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