Skip to content

Update GitHub Actions #24

Update GitHub Actions

Update GitHub Actions #24

Workflow file for this run

name: XboxAudio2 - Visual Studio 2026
on:
pull_request:
branches: [main, master]
types: [opened, synchronize, reopened, closed]
push:
branches: [main, master]
jobs:
build:
name: Build XboxAudio2
runs-on: windows-2025-vs2026
steps:
- name: Checkout Repository
uses: actions/checkout@v7
with:
submodules: 'recursive'
- name: Configure CMake
run: cmake -S . -B artifacts -G "Visual Studio 18 2026" -A x64
- name: Build Debug
run: cmake --build artifacts --config Debug
- name: Upload Debug Artifacts
if: github.event_name == 'push'
uses: actions/upload-artifact@v4
with:
name: XboxAudio2 Debug
compression-level: 9
path: |
artifacts/Debug/*.dll
artifacts/Debug/*.lib
artifacts/Debug/*.pdb
if-no-files-found: warn
- name: Build Release
run: cmake --build artifacts --config Release
- name: Upload Release Artifacts
if: github.event_name == 'push'
uses: actions/upload-artifact@v4
with:
name: XboxAudio2 Release
compression-level: 9
path: |
artifacts/Release/*.dll
artifacts/Release/*.lib
artifacts/Release/*.pdb
if-no-files-found: warn