Skip to content

Add codesigning for macOS vst3 #19

Add codesigning for macOS vst3

Add codesigning for macOS vst3 #19

Workflow file for this run

name: Bundle and Create Artifact
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [windows-latest, macos-latest, ubuntu-latest]
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Import Certificates
if: matrix.os == 'macos-latest'
uses: apple-actions/import-codesign-certs@v2
with:
p12-file-base64: ${{ secrets.DEV_ID_APP_CERT }}
p12-password: ${{ secrets.DEV_ID_APP_CERT_PASSWORD }}
- name: Bundle resotool (macOS)
if: matrix.os == 'macos-latest'
run: rustup target add aarch64-apple-darwin && cargo xtask bundle-universal resotool --release
- name: Codesign resotool (macOS)
if: matrix.os == 'macos-latest'
run: codesign --force -s "${{ secrets.DEV_ID_APP}}" -v ./target/bundled/Resotool.vst3 --deep --strict --options=runtime --timestamp
- name: Bundle resotool (Windows and Linux)
if: matrix.os != 'macos-latest'
run: cargo xtask bundle resotool --release
- name: Create Artifact
uses: actions/upload-artifact@v4
with:
name: resotool_${{ matrix.os }}
path: ./target/bundled