Retire legacy implementations and flatten managed layout
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
name: .NET port
|
||||
name: Build and test
|
||||
|
||||
on:
|
||||
push:
|
||||
paths: ['dotnet/**', 'clients/windows/**', 'clients/apple/dotnet/**', 'native/**', 'proto/**', 'assets/**', 'Dockerfile', '.github/workflows/dotnet.yml']
|
||||
paths: ['src/**', 'tests/**', 'clients/**', 'native/**', 'proto/**', 'assets/**', 'scripts/**', '*.slnx', '*.props', '*.targets', 'global.json', 'Dockerfile', '.github/workflows/dotnet.yml']
|
||||
pull_request:
|
||||
paths: ['dotnet/**', 'clients/windows/**', 'clients/apple/dotnet/**', 'native/**', 'proto/**', 'assets/**', 'Dockerfile', '.github/workflows/dotnet.yml']
|
||||
paths: ['src/**', 'tests/**', 'clients/**', 'native/**', 'proto/**', 'assets/**', 'scripts/**', '*.slnx', '*.props', '*.targets', 'global.json', 'Dockerfile', '.github/workflows/dotnet.yml']
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
@@ -18,17 +18,17 @@ jobs:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/setup-dotnet@v4
|
||||
with:
|
||||
global-json-file: dotnet/global.json
|
||||
global-json-file: global.json
|
||||
cache: true
|
||||
cache-dependency-path: dotnet/**/packages.lock.json
|
||||
cache-dependency-path: '**/packages.lock.json'
|
||||
- name: Build and stage native codec/DSP
|
||||
shell: pwsh
|
||||
run: ./dotnet/build-native.ps1
|
||||
- run: dotnet restore dotnet/VoiceCat.slnx --locked-mode
|
||||
- run: dotnet build dotnet/VoiceCat.slnx -c Release --no-restore
|
||||
- run: dotnet test dotnet/VoiceCat.slnx -c Release --no-build
|
||||
run: ./scripts/build-native.ps1
|
||||
- run: dotnet restore VoiceCat.slnx --locked-mode
|
||||
- run: dotnet build VoiceCat.slnx -c Release --no-restore
|
||||
- run: dotnet test VoiceCat.slnx -c Release --no-build
|
||||
- shell: pwsh
|
||||
run: ./dotnet/check-licenses.ps1
|
||||
run: ./scripts/check-licenses.ps1
|
||||
|
||||
apple-client:
|
||||
runs-on: macos-latest
|
||||
@@ -36,17 +36,17 @@ jobs:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/setup-dotnet@v4
|
||||
with:
|
||||
global-json-file: dotnet/global.json
|
||||
global-json-file: global.json
|
||||
cache: true
|
||||
cache-dependency-path: dotnet/**/packages.lock.json
|
||||
cache-dependency-path: '**/packages.lock.json'
|
||||
- name: Install Apple workloads
|
||||
run: dotnet workload install macos ios --version 10.0.401
|
||||
- name: Build and stage native codec/DSP
|
||||
shell: pwsh
|
||||
run: ./dotnet/build-native.ps1
|
||||
run: ./scripts/build-native.ps1
|
||||
- name: Build and stage static iOS codec/DSP
|
||||
run: ./dotnet/build-native-ios.sh
|
||||
run: ./scripts/build-native-ios.sh
|
||||
- name: Restore managed Apple clients
|
||||
run: dotnet restore clients/apple/dotnet/VoiceCat.Apple.slnx
|
||||
run: dotnet restore clients/apple/VoiceCat.Apple.slnx
|
||||
- name: Build managed AppKit and UIKit clients
|
||||
run: dotnet build clients/apple/dotnet/VoiceCat.Apple.slnx -c Debug --no-restore
|
||||
run: dotnet build clients/apple/VoiceCat.Apple.slnx -c Debug --no-restore
|
||||
|
||||
Reference in New Issue
Block a user