Build releases with Ubuntu 18.04 container (#1460)

* ci(release): try using lite-xl-build-box

* ci(build): test with my own fork

* ci(build): do not install python via actions

* ci(build): disable package updates

* fix(scripts/appimage.sh): add workaround for non-FUSE environments

* ci(build): document why the actions are disabled

* ci(release): fix typo
This commit is contained in:
Takase 2023-04-16 21:18:40 +08:00 committed by takase1121
parent 97f3159415
commit 64a6d88618
No known key found for this signature in database
GPG Key ID: 60EEFFC68EB3031B
2 changed files with 12 additions and 1 deletions

View File

@ -50,6 +50,7 @@ jobs:
name: Linux
needs: release
runs-on: ubuntu-latest
container: ghcr.io/takase1121/lite-xl-build-box:latest
env:
CC: gcc
CXX: g++
@ -59,16 +60,26 @@ jobs:
echo "$HOME/.local/bin" >> "$GITHUB_PATH"
echo "INSTALL_REF=${{ needs.release.outputs.version }}" >> "$GITHUB_ENV"
- uses: actions/checkout@v3
# disabled because this will break our own Python install
- name: Python Setup
if: false
uses: actions/setup-python@v4
with:
python-version: 3.9
# disabled because the container has up-to-date packages
- name: Update Packages
if: false
run: sudo apt-get update
# disabled as the dependencies are already installed
- name: Install Dependencies
if: false
run: |
bash scripts/install-dependencies.sh --debug
sudo apt-get install -y ccache
- name: Build Portable
run: |
bash --version

View File

@ -181,7 +181,7 @@ generate_appimage() {
version="${version}-addons"
fi
./appimagetool LiteXL.AppDir LiteXL${version}-${ARCH}.AppImage
./appimagetool --appimage-extract-and-run LiteXL.AppDir LiteXL${version}-${ARCH}.AppImage
}
setup_appimagetool