-
Notifications
You must be signed in to change notification settings - Fork 0
37 lines (31 loc) · 896 Bytes
/
Copy pathrelease.yml
File metadata and controls
37 lines (31 loc) · 896 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
name: Release
on:
push:
tags:
- 'v*'
jobs:
build:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
permissions:
contents: write
steps:
- uses: actions/checkout@v4
- name: clone supercollider
run: git clone -b 3.14 --recurse-submodules https://github.com/supercollider/supercollider.git
- name: make build dir
run: mkdir build
- name: cmake configure
run: cmake -DSUPERNOVA=ON -DSC_PATH="./supercollider" -DCMAKE_BUILD_TYPE=Release -B build
- name: compile
run: cmake --build build --config Release
- name: install
run: cmake --install build --prefix staging
- name: package
run: cpack --config build/CPackConfig.cmake -G ZIP
- name: upload artifact
uses: softprops/action-gh-release@v2
with:
files: "*.zip"