diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b6a474d..080fd4b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -6,11 +6,11 @@ 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 @@ -18,9 +18,9 @@ jobs: - 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 @@ -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