Skip to content

Commit

Permalink
Update CI
Browse files Browse the repository at this point in the history
  • Loading branch information
nwhetsell committed Jun 24, 2024
1 parent 2267c6c commit ac515d8
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,21 +6,21 @@ jobs:
Test:
strategy:
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
os: [macos-latest, ubuntu-latest, windows-2019]
runs-on: ${{ matrix.os }}
steps:
- name: Check out repository
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Install Boost and Csound on macOS
run: brew install boost csound
if: ${{ matrix.os == 'macos-latest' }}
- name: Install Boost and Csound on Linux
run: |
sudo apt-get --assume-yes install libboost-dev libsndfile1-dev
wget --no-verbose https://github.com/csound/csound/archive/refs/tags/6.17.0.tar.gz
tar -xf 6.17.0.tar.gz
cd csound-6.17.0
wget --no-verbose https://github.com/csound/csound/archive/refs/tags/6.18.1.tar.gz
tar -xf 6.18.1.tar.gz
cd csound-6.18.1
cmake -S . -B build -DBUILD_DSSI_OPCODES=OFF
cmake --build build
sudo cmake --install build
Expand All @@ -29,21 +29,21 @@ jobs:
- name: Install Boost and Csound on Windows
run: |
choco install boost-msvc-14.2 --no-progress
curl.exe --location --remote-name --remote-header-name --show-error --silent https://github.com/csound/csound/releases/download/6.17.0/csound-6.17.0-windows-x64-installer.zip
7z x csound-6.17.0-windows-x64-installer.zip
Start-Process csound-windows_x86_64-6.17.0-916.exe '/verySilent /noRestart' -Wait
Add-Content $Env:GITHUB_PATH "$Env:ProgramFiles\csound\bin" -Encoding utf8
if: ${{ matrix.os == 'windows-latest' }}
curl.exe --location --remote-name --remote-header-name --show-error --silent https://github.com/csound/csound/releases/download/6.18.1/Csound6_x64-6.18.1-windows-x64-installer.zip
7z x Csound6_x64-6.18.1-windows-x64-installer.zip
Start-Process Csound6_x64-windows_x86_64-6.18.0-1245.exe '/verySilent /noRestart' -Wait
Add-Content $Env:GITHUB_PATH "$Env:ProgramFiles\Csound6_x64\bin" -Encoding utf8
if: ${{ matrix.os == 'windows-2019' }}

- name: Install linter-csound on macOS and Linux
run: npm install
if: ${{ matrix.os != 'windows-latest' }}
if: ${{ matrix.os != 'windows-2019' }}
- name: Install linter-csound on Windows
run: |
$Env:CL = "/I`"C:\local\boost_1_74_0`" /I`"$Env:ProgramFiles\csound\include`""
$Env:LINK = "`"$Env:ProgramFiles\csound\lib\csound64.lib`""
npm install
if: ${{ matrix.os == 'windows-latest' }}
if: ${{ matrix.os == 'windows-2019' }}

- name: Install Jasmine
run: npm install --global jasmine
Expand Down

0 comments on commit ac515d8

Please sign in to comment.