aboutsummaryrefslogtreecommitdiffhomepage
path: root/.github
diff options
context:
space:
mode:
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/build.yml16
1 files changed, 15 insertions, 1 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 2e29a5b..b7cb72a 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -9,7 +9,7 @@ jobs:
BUILD_TYPE: ${{ matrix.type }}
strategy:
matrix:
- os: [ubuntu-20.04, windows-2019, macos-11]
+ os: [ubuntu-20.04, windows-2019, macos-13, macos-14]
type: [Release, Debug]
steps:
@@ -36,6 +36,20 @@ jobs:
New-ItemProperty -Path "HKLM:\SOFTWARE\policies\microsoft\windows\appprivacy" -Name "LetAppsAccessMicrophone" -Value "0x00000001" -PropertyType "dword"
if: ${{ matrix.os == 'windows-2019' }}
+ - name: Install virtual audio devices (macOS)
+ if: ${{ matrix.os == 'macos-13' || matrix.os == 'macos-14' }}
+ run: |
+ brew install switchaudio-osx
+ brew install blackhole-2ch
+ SwitchAudioSource -s "BlackHole 2ch" -t input
+ SwitchAudioSource -s "BlackHole 2ch" -t output
+
+ - name: Allow microphone access to all apps (macOS)
+ if: ${{ matrix.os == 'macos-13' || matrix.os == 'macos-14' }}
+ env:
+ tcc_extra_columns: ${{ matrix.os == 'macos-14' && ',NULL,NULL,''UNUSED'',1687786159' || '' }}
+ run: sqlite3 $HOME/Library/Application\ Support/com.apple.TCC/TCC.db "INSERT OR IGNORE INTO access VALUES ('kTCCServiceMicrophone','/usr/local/opt/runner/provisioner/provisioner',1,2,4,1,NULL,NULL,0,'UNUSED',NULL,0,1687786159${{ env.tcc_extra_columns }});"
+
- name: Configure CMake
shell: bash
run: cmake -S . -B build -DCMAKE_BUILD_TYPE=$BUILD_TYPE