-
-
Notifications
You must be signed in to change notification settings - Fork 15
38 lines (36 loc) · 1.01 KB
/
msys2-mingw64.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
name: MSYS2 MINGW64 Build
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
msys2-mingw64:
runs-on: windows-latest
defaults:
run:
shell: msys2 {0}
steps:
- uses: actions/checkout@v4
with:
submodules: true
- uses: msys2/setup-msys2@v2
with:
msystem: MINGW64
update: true
install: git make pkg-config mingw64/mingw-w64-x86_64-gcc mingw64/mingw-w64-x86_64-portaudio mingw64/mingw-w64-x86_64-libsndfile bison flex
- name: Build with make
run: make
- run: rm -f gensinc.exe
- name: Copy DLLs over
run: cp $MSYSTEM_PREFIX/bin/libportaudio.dll .
- name: Set outputs
id: vars
run: echo "sha_short=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
- name: Upload build artifact
uses: actions/upload-artifact@v4
with:
name: mdxtools-${{steps.vars.outputs.sha_short}}
path: |
*.exe
*.dll