app image builder feature (#86)

* deps/wxWidgets: Disable EGL for wxGLCanvas

To work around <https://github.com/supermerill/SuperSlicer/issues/1093>.

* Fix USE_GLCANVAS_EGL=OFF for only Linux Builds

* Add -r flag to BuildLinux.sh to skip ram check

* Add support for AppImage build in containers.

* Add GitHub Action Workflow to Build AppImage

* Update AppImage-Builder to use upload-artifact v3

Co-authored-by: Zhaofeng Li <hello@zhaofeng.li>
This commit is contained in:
fang64 2023-01-02 01:48:20 -05:00 committed by GitHub
parent 4803c35b76
commit af44269767
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 54 additions and 2 deletions

32
.github/workflows/appimage.yml vendored Normal file
View file

@ -0,0 +1,32 @@
name: BambuStudio-SoftFever
on: [push, pull_request]
jobs:
appimage-builder:
name: Linux AppImage Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install cmake libgl1-mesa-dev libgtk-3-dev libxkbcommon-dev libunwind-dev libfuse2 -y
- name: Install dependencies from BuildLinux.sh
shell: bash
run: sudo ./BuildLinux.sh -ur
- name: Fix permissions
shell: bash
run: sudo chown $USER -R ./
- name: Build Bambu Studio dependencies using BuildLinux.sh
shell: bash
run: ./BuildLinux.sh -dsr
- name: Build Bambu Studio AppImage using BuildLinux.sh
shell: bash
run: ./BuildLinux.sh -ir
- uses: actions/upload-artifact@v3
with:
name: AppImage
path: './build/BambuStudio_ubu64.AppImage'