mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-14 06:15:58 +08:00
Refactor workflows to allow conditionals
This commit is contained in:
parent
ae97d00c34
commit
f62104aa84
40
.github/workflows/build.yml
vendored
40
.github/workflows/build.yml
vendored
@ -1,40 +0,0 @@
|
||||
name: Build
|
||||
|
||||
on:
|
||||
push:
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
build_osx:
|
||||
uses: Prusa-Development/PrusaSlicer-Actions/.github/workflows/build_osx.yml@master
|
||||
secrets: inherit
|
||||
with:
|
||||
actions_branch: master
|
||||
|
||||
build_osx_asan:
|
||||
uses: Prusa-Development/PrusaSlicer-Actions/.github/workflows/build_osx.yml@master
|
||||
secrets: inherit
|
||||
needs: build_osx
|
||||
with:
|
||||
with_asan: true
|
||||
actions_branch: master
|
||||
|
||||
build_win:
|
||||
uses: Prusa-Development/PrusaSlicer-Actions/.github/workflows/build_windows.yml@master
|
||||
secrets: inherit
|
||||
with:
|
||||
actions_branch: master
|
||||
|
||||
build_flatpak:
|
||||
uses: Prusa-Development/PrusaSlicer-Actions/.github/workflows/build_flatpak.yml@master
|
||||
secrets: inherit
|
||||
with:
|
||||
actions_branch: master
|
||||
|
||||
build_flatpak_asan:
|
||||
uses: Prusa-Development/PrusaSlicer-Actions/.github/workflows/build_flatpak.yml@master
|
||||
secrets: inherit
|
||||
needs: build_flatpak
|
||||
with:
|
||||
with_asan: true
|
||||
actions_branch: master
|
20
.github/workflows/build_flatpak.yml
vendored
Normal file
20
.github/workflows/build_flatpak.yml
vendored
Normal file
@ -0,0 +1,20 @@
|
||||
name: Build flatpak
|
||||
|
||||
on:
|
||||
push:
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
build_flatpak:
|
||||
uses: Prusa-Development/PrusaSlicer-Actions/.github/workflows/build_flatpak.yml@master
|
||||
secrets: inherit
|
||||
with:
|
||||
actions_branch: master
|
||||
|
||||
build_flatpak_asan:
|
||||
uses: Prusa-Development/PrusaSlicer-Actions/.github/workflows/build_flatpak.yml@master
|
||||
secrets: inherit
|
||||
needs: build_flatpak
|
||||
with:
|
||||
with_asan: true
|
||||
actions_branch: master
|
20
.github/workflows/build_osx.yml
vendored
Normal file
20
.github/workflows/build_osx.yml
vendored
Normal file
@ -0,0 +1,20 @@
|
||||
name: Build osx
|
||||
|
||||
on:
|
||||
push:
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
build_osx:
|
||||
uses: Prusa-Development/PrusaSlicer-Actions/.github/workflows/build_osx.yml@master
|
||||
secrets: inherit
|
||||
with:
|
||||
actions_branch: master
|
||||
|
||||
build_osx_asan:
|
||||
uses: Prusa-Development/PrusaSlicer-Actions/.github/workflows/build_osx.yml@master
|
||||
secrets: inherit
|
||||
needs: build_osx
|
||||
with:
|
||||
with_asan: true
|
||||
actions_branch: master
|
23
.github/workflows/build_windows.yml
vendored
Normal file
23
.github/workflows/build_windows.yml
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
name: Build windows
|
||||
|
||||
on:
|
||||
push:
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
create_pdb:
|
||||
description: 'Zip pdbs'
|
||||
default: false
|
||||
type: bool
|
||||
create_installer:
|
||||
description: 'Create installer'
|
||||
default: false
|
||||
type: bool
|
||||
|
||||
jobs:
|
||||
build_win:
|
||||
uses: Prusa-Development/PrusaSlicer-Actions/.github/workflows/build_windows.yml@master
|
||||
secrets: inherit
|
||||
with:
|
||||
actions_branch: master
|
||||
create_pdb: ${{ inputs.create_pdb }}
|
||||
create_installer: ${{ inputs.create_installer }}
|
@ -38,7 +38,6 @@ option(SLIC3R_GUI "Compile PrusaSlicer with GUI components (OpenGL, wxWidg
|
||||
option(SLIC3R_FHS "Assume PrusaSlicer is to be installed in a FHS directory structure" 0)
|
||||
option(SLIC3R_PCH "Use precompiled headers" 1)
|
||||
option(SLIC3R_MSVC_COMPILE_PARALLEL "Compile on Visual Studio in parallel" 1)
|
||||
option(SLIC3R_MSVC_PDB "Generate PDB files on MSVC in Release mode" 1)
|
||||
option(SLIC3R_ASAN "Enable ASan on Clang and GCC" 0)
|
||||
option(SLIC3R_UBSAN "Enable UBSan on Clang and GCC" 0)
|
||||
option(SLIC3R_ENABLE_FORMAT_STEP "Enable compilation of STEP file support" ON)
|
||||
|
Loading…
x
Reference in New Issue
Block a user