Skip to content

Commit

Permalink
Workflow upgrades in weekend-of-actions (#98)
Browse files Browse the repository at this point in the history
Add codequal check
Clean up to use reusable componetns
  • Loading branch information
baconpaul authored Jul 28, 2024
1 parent 3b239fd commit 57b7f63
Show file tree
Hide file tree
Showing 3 changed files with 53 additions and 54 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/build-pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Feature

on:
pull_request:
branches:
- main

jobs:
build_feature:
name: PR - ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
include:
- os: windows-latest
- os: macos-latest
- os: ubuntu-latest


steps:


- name: Checkout code
uses: actions/checkout@v2
with:
submodules: recursive

- name: Prepare for JUCE
uses: surge-synthesizer/sst-githubactions/prepare-for-juce@main
with:
os: ${{ runner.os }}

- name: Build binary
run: |
cmake -S . -B ./build -DCMAKE_BUILD_TYPE=Debug -DSST_JUCEGUI_BUILD_EXAMPLES=TRUE -DCMAKE_OSX_ARCHITECTURES="arm64;x86_64"
cmake --build ./build --config Debug
17 changes: 17 additions & 0 deletions .github/workflows/code-checks.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Format Check
on: [ pull_request ]
jobs:
formatting-check:
name: Clang Format Check
runs-on: ubuntu-latest
strategy:
matrix:
path: [ 'src', 'include', 'examples' ]
steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Run clang-format style check
uses: surge-synthesizer/sst-githubactions/clang-format-check@main
with:
path: ${{ matrix.path }}
54 changes: 0 additions & 54 deletions .github/workflows/feature.yml

This file was deleted.

0 comments on commit 57b7f63

Please sign in to comment.