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:
parent
97f3159415
commit
64a6d88618
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue