mirror of
https://github.com/imgfloat/server.git
synced 2026-02-05 03:39:26 +00:00
Add APPDIR
This commit is contained in:
6
.github/workflows/ci.yml
vendored
6
.github/workflows/ci.yml
vendored
@@ -16,6 +16,7 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
timeout-minutes: 5
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
@@ -33,6 +34,7 @@ jobs:
|
|||||||
run: mvn -B verify
|
run: mvn -B verify
|
||||||
|
|
||||||
electron-build:
|
electron-build:
|
||||||
|
timeout-minutes: 5
|
||||||
name: Electron packages (${{ matrix.os }})
|
name: Electron packages (${{ matrix.os }})
|
||||||
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
|
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
@@ -73,8 +75,7 @@ jobs:
|
|||||||
./dist/*.AppImage --appimage-extract
|
./dist/*.AppImage --appimage-extract
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
sudo apt-get install -y xvfb
|
sudo apt-get install -y xvfb
|
||||||
cd squashfs-root
|
APPDIR="$(pwd)" xvfb-run ./AppRun --no-sandbox
|
||||||
xvfb-run squashfs-root/AppRun --no-sandbox
|
|
||||||
|
|
||||||
- name: Smoke test Windows exe
|
- name: Smoke test Windows exe
|
||||||
if: matrix.os == 'windows-latest'
|
if: matrix.os == 'windows-latest'
|
||||||
@@ -100,6 +101,7 @@ jobs:
|
|||||||
dist/*.dmg
|
dist/*.dmg
|
||||||
|
|
||||||
docker:
|
docker:
|
||||||
|
timeout-minutes: 5
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: build
|
needs: build
|
||||||
steps:
|
steps:
|
||||||
|
|||||||
Reference in New Issue
Block a user