Skip to content

Commit

Permalink
[FEATURE] Reworked buildflows
Browse files Browse the repository at this point in the history
  • Loading branch information
mjonuschat committed Dec 14, 2024
1 parent af21068 commit a53fc62
Show file tree
Hide file tree
Showing 6 changed files with 53 additions and 501 deletions.
52 changes: 52 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
name: Build PrusaSlicer (BOSS)

on:
push:
# branches:
# - boss
# - release/*
paths:
- 'deps/**'
- 'src/**'
- '**/CMakeLists.txt'
- 'version.inc'
- 'resources/**'
- ".github/workflows/*.yml"
- "build_release_linux.sh"
- "build_release_macos.sh"
- "build_win.bat"

pull_request:
branches:
- boss
- release/*
paths:
- 'deps/**'
- 'src/**'
- '**/CMakeLists.txt'
- 'version.inc'
- ".github/workflows/*.yml"

workflow_dispatch:

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

jobs:
build:
name: Build PrusaSlicer (BOSS)
strategy:
fail-fast: false
matrix:
platform: [linux, osx, windows]
uses: ./.github/workflows/build_${{ matrix.platform }}.yml
secrets: inherit

release:
name: Release
uses: ./.github/workflows/release.yml
needs: [build]
secrets: inherit
permissions:
contents: write
100 changes: 0 additions & 100 deletions .github/workflows/build_all.yml

This file was deleted.

58 changes: 0 additions & 58 deletions .github/workflows/build_check_cache.yml

This file was deleted.

131 changes: 0 additions & 131 deletions .github/workflows/build_deps.yml

This file was deleted.

Loading

0 comments on commit a53fc62

Please sign in to comment.