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
a6d1fe720f
commit
0cf47fec5d
|
@ -50,6 +50,7 @@ jobs:
|
||||||
name: Linux
|
name: Linux
|
||||||
needs: release
|
needs: release
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
container: ghcr.io/takase1121/lite-xl-build-box:latest
|
||||||
env:
|
env:
|
||||||
CC: gcc
|
CC: gcc
|
||||||
CXX: g++
|
CXX: g++
|
||||||
|
@ -59,16 +60,26 @@ jobs:
|
||||||
echo "$HOME/.local/bin" >> "$GITHUB_PATH"
|
echo "$HOME/.local/bin" >> "$GITHUB_PATH"
|
||||||
echo "INSTALL_REF=${{ needs.release.outputs.version }}" >> "$GITHUB_ENV"
|
echo "INSTALL_REF=${{ needs.release.outputs.version }}" >> "$GITHUB_ENV"
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
|
# disabled because this will break our own Python install
|
||||||
- name: Python Setup
|
- name: Python Setup
|
||||||
|
if: false
|
||||||
uses: actions/setup-python@v4
|
uses: actions/setup-python@v4
|
||||||
with:
|
with:
|
||||||
python-version: 3.9
|
python-version: 3.9
|
||||||
|
|
||||||
|
# disabled because the container has up-to-date packages
|
||||||
- name: Update Packages
|
- name: Update Packages
|
||||||
|
if: false
|
||||||
run: sudo apt-get update
|
run: sudo apt-get update
|
||||||
|
|
||||||
|
# disabled as the dependencies are already installed
|
||||||
- name: Install Dependencies
|
- name: Install Dependencies
|
||||||
|
if: false
|
||||||
run: |
|
run: |
|
||||||
bash scripts/install-dependencies.sh --debug
|
bash scripts/install-dependencies.sh --debug
|
||||||
sudo apt-get install -y ccache
|
sudo apt-get install -y ccache
|
||||||
|
|
||||||
- name: Build Portable
|
- name: Build Portable
|
||||||
run: |
|
run: |
|
||||||
bash --version
|
bash --version
|
||||||
|
|
|
@ -181,7 +181,7 @@ generate_appimage() {
|
||||||
version="${version}-addons"
|
version="${version}-addons"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
./appimagetool LiteXL.AppDir LiteXL${version}-${ARCH}.AppImage
|
./appimagetool --appimage-extract-and-run LiteXL.AppDir LiteXL${version}-${ARCH}.AppImage
|
||||||
}
|
}
|
||||||
|
|
||||||
setup_appimagetool
|
setup_appimagetool
|
||||||
|
|
Loading…
Reference in New Issue