mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-10-20 07:11:12 -06:00
parent
43f4288fdc
commit
96c861f906
14 changed files with 581 additions and 84 deletions
38
.github/workflows/build_linux.yml
vendored
Normal file
38
.github/workflows/build_linux.yml
vendored
Normal file
|
@ -0,0 +1,38 @@
|
|||
name: Build Linux
|
||||
|
||||
on: [push, pull_request]
|
||||
|
||||
jobs:
|
||||
appimage-builder:
|
||||
name: Linux AppImage Build
|
||||
|
||||
runs-on: ubuntu-20.04
|
||||
|
||||
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 deps
|
||||
id: cache_deps
|
||||
uses: actions/cache@v3
|
||||
env:
|
||||
cache-name: ${{ runner.os }}-cache-bambustudio_deps_x64
|
||||
with:
|
||||
path: ${{ github.workspace }}/deps/build/destdir
|
||||
key: build-${{ env.cache-name }}
|
||||
|
||||
- if: ${{ steps.cache_deps.outputs.cache-hit != 'true' }}
|
||||
name: build deps
|
||||
working-directory: ${{ github.workspace }}
|
||||
continue-on-error: true
|
||||
run: ./BuildLinux.sh -dsr
|
||||
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue