-
Notifications
You must be signed in to change notification settings - Fork 0
48 lines (38 loc) · 1.13 KB
/
release.yml
File metadata and controls
48 lines (38 loc) · 1.13 KB
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
name: Release
on:
push:
tags:
- 'R*'
jobs:
build-and-release:
runs-on: macos-latest
permissions:
contents: write
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup build environment
run: |
# Ensure Xcode Command Line Tools are available
xcode-select --print-path
- name: Setup VapourSynth headers
run: |
brew install vapoursynth
- name: Configure CMake
run: |
cmake -S . -B build -D CMAKE_BUILD_TYPE=Release -D VAPOURSYNTH_INCLUDE_DIRECTORY="/opt/homebrew/include/vapoursynth/"
- name: Build project
run: |
cmake --build build --config Release
- name: Prepare release artifacts
run: |
mkdir -p release
cp build/lib/libeedi2metal.dylib release/libeedi2metal.dylib
- name: Create Release
uses: softprops/action-gh-release@v2
with:
files: release/libeedi2metal.dylib
draft: true
prerelease: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}