This is a PATH test. #10 #26
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build Status | |
on: [push, pull_request] | |
jobs: | |
windows: | |
name: "Windows - Visual Studio" | |
runs-on: windows-latest | |
env: | |
AUDITION_USER: ${{ secrets.AUDITION_USER }} | |
AUDITION_KEY: ${{ secrets.AUDITION_KEY }} | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Install Dependencies | |
run: | | |
msiexec /i Audition-1.0.0.msi /quiet /norestart" | |
echo "%localappdata%\Programs\Audition" | |
echo "$(pwd)\AppData\Local\Programs\Audition" | |
echo "PATH=$(pwd)\AppData\Local\Programs\Audition;$env:PATH" | Out-File -FilePath $env:GITHUB_ENV -Append | |
$env:PATH | |
- name: Run Tests | |
run: | | |
cmake -B build | |
cmake --build build --config Release | |
ctest --test-dir build --output-on-failure -C Release | |
# choco install cmake --installargs 'ADD_CMAKE_TO_PATH=System' | |
# echo "PATH=$PATH:$(pwd)/Audition" >> $GITHUB_ENV | |
# linux: | |
# name: "Linux - ${{ matrix.compiler.display }}" | |
# runs-on: ubuntu-latest | |
# env: | |
# AUDITION_USER: ${{ secrets.AUDITION_USER }} | |
# AUDITION_KEY: ${{ secrets.AUDITION_KEY }} | |
# strategy: | |
# matrix: | |
# compiler: | |
# - { CC: gcc, display: GCC } | |
# - { CC: clang, display: Clang } | |
# steps: | |
# - name: Checkout repository | |
# uses: actions/checkout@v4 | |
# - name: Install Audition | |
# run: | | |
# sudo dpkg -i ./Audition-1.0.0.deb | |
# - name: Run Tests | |
# run: | | |
# cmake -B build | |
# cmake --build build | |
# ctest --test-dir build --output-on-failure |