-
Notifications
You must be signed in to change notification settings - Fork 2
64 lines (47 loc) · 1.54 KB
/
ck_release.yml
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
name: ck-release
on:
release:
types: [created]
jobs:
build:
runs-on: ${{ matrix.os }}
continue-on-error: true
strategy:
matrix:
os:
- macos-14
- macos-13
steps:
- name: Job information
id: strings
shell: bash
run: |
echo "runner-arch=`uname -m`" >> "$GITHUB_OUTPUT"
- uses: actions/checkout@v4
with:
submodules: 'recursive'
fetch-depth: '0'
- name: Cache downloads
id: cache-downloads
uses: actions/cache@v4
env:
cache-name: ck-cache-1
with:
path: build/thirdparty/downloads
key: $${{ env.cache-name }}-${{ hashFiles('source/scripts/dep/install_libfaust.sh') }}
- name: Install chuck dependencies
run: brew install bison flex
- name: Install faust + warpbuf (libsndfile) dependencies
if: contains(fromJSON('["brew", "full", "light", "nomp3"]'), matrix.variant)
run: brew install autogen automake flac libogg libvorbis opus mpg123 lame
- name: Install warpbuf (rubberband) dependencies
if: contains(fromJSON('["brew", "full", "light", "nomp3"]'), matrix.variant)
run: brew install rubberband libsamplerate
- name: Build external
run: make brew
- name: Create package for distribution
run: make package
- uses: actions/upload-artifact@v4
with:
name: ${{ github.event.repository.name }}-${{ github.ref_name }}-darwin-${{ steps.strings.outputs.runner-arch }}
path: build/dist/${{ github.event.repository.name }}