Skip to content

Commit

Permalink
tests
Browse files Browse the repository at this point in the history
  • Loading branch information
gesellkammer committed Feb 15, 2024
1 parent 5c8f5b7 commit a500dd4
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ test_task:
test_script: |
set -x
ls -l
python3 -c 'import platform; print(platform.machine(), platform.architecture(), platform.uname())' # , platform.dist())'
brew install csound
python3 -m pip install .
risset list
risset install klib
csound -z1 2>&1 | grep dict_
csound -o test/lfnoise-macos-${{ matrix.arch }}-git.flac --format=flac test/lfnoise.csd
19 changes: 14 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,16 +22,21 @@ jobs:
- name: linux - test install from git
run: |
set -x
pip install .
risset update
risset list
echo "Installing some plugins (klib, else)"
risset install klib else
echo "-------------------------------"
echo "Checking that the plugin is installed and recognized by csound"
echo "Checking that the plugins are installed and recognized by csound"
csound -z1 2>&1 | grep dict_
echo "Checking that the plugins are functional"
csound -o test/lfnoise-linux-git.flac --format=flac test/lfnoise.csd
cp test/*.flac artifacts
echo "Uninstalling risset"
risset remove klib else
pip uninstall --yes risset
Expand Down Expand Up @@ -83,16 +88,18 @@ jobs:
run: |
$Env:Path = $Env:Path + ";C:\Program Files\csound-binaries\build\Release"
python -c "import platform; print('platform.machine: ', platform.machine())"
pip install .
risset update
risset list
risset install klib
risset install klib else
echo "-------------------------------"
echo "Checking that the plugin is installed and recognized by csound"
csound -z1
csound -z1 | Select-String "dict"
csound -o test/lfnoise-linux-pip.flac --format=flac test/lfnoise.csd
risset remove klib
pip uninstall --yes risset
Expand Down Expand Up @@ -134,8 +141,10 @@ jobs:
risset dev codesign
echo "-------------------------------"
echo "Checking that the plugin is installed and recognized by csound"
csound -z1 2>&1 | grep atstop
csound -z1 2>&1 | grep dict_
echo "Ok..."
csound -o test/lfnoise-macos-${{ matrix.arch }}-git.flac --format=flac test/lfnoise.csd
mkdir -p artifacts
Expand Down

0 comments on commit a500dd4

Please sign in to comment.