-
Notifications
You must be signed in to change notification settings - Fork 0
39 lines (36 loc) · 1.12 KB
/
main-ci.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
name: CI
on: [push]
jobs:
build:
strategy:
matrix:
os: [windows-latest, ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v1
- name: Install Wintellect-PowerShell
run: Install-Module -Name WintellectPowerShell -Force -AllowClobber
if: startsWith(matrix.os, 'windows')
- name: Install ALSA2 headers
run: |
sudo apt-get update
sudo apt-get install -y libasound2-dev
if: startsWith(matrix.os, 'ubuntu')
- name: Release build
run: ./build_portaudio_win.ps1
- name: Debug build
run: ./build_portaudio_win.ps1 -DebugBuild
- name: Upload artifact (debug)
uses: actions/[email protected]
with:
# Artifact name
name: portaudio-debug-build-${{ matrix.os }}
# Directory containing files to upload
path: portaudio_build/Debug
- name: Upload artifact (release)
uses: actions/[email protected]
with:
# Artifact name
name: portaudio-release-build-${{ matrix.os }}
# Directory containing files to upload
path: portaudio_build/Release