Skip to content

Commit

Permalink
Build FRUT with JUCE 7.0.0 on CI
Browse files Browse the repository at this point in the history
  • Loading branch information
McMartin committed Jul 2, 2022
1 parent 0ceee23 commit 71dc09f
Show file tree
Hide file tree
Showing 2 changed files with 65 additions and 1 deletion.
64 changes: 64 additions & 0 deletions .appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ install:
-- https://github.com/juce-framework/JUCE.git ci/tmp/JUCE-6.0.5
- git clone --branch=6.1.6 --depth=1 --single-branch
-- https://github.com/juce-framework/JUCE.git ci/tmp/JUCE-6.1.6
- git clone --branch=7.0.0 --depth=1 --single-branch
-- https://github.com/juce-framework/JUCE.git ci/tmp/JUCE-7.0.0

for:
- matrix:
Expand Down Expand Up @@ -213,6 +215,57 @@ for:
- cmake .. -DCMAKE_INSTALL_PREFIX="%APPVEYOR_BUILD_FOLDER%/prefix"
- cmake --build . --config Release --target install --parallel

- matrix:
only:
- GENERATOR: Visual Studio 14 2015

build_script:
- mkdir %APPVEYOR_BUILD_FOLDER%\build
- cd %APPVEYOR_BUILD_FOLDER%\build

# Configure and build FRUT with JUCE 4.2.0
- cmake .. -G "%GENERATOR%" -DJUCE_ROOT="%APPVEYOR_BUILD_FOLDER%/ci/tmp/JUCE-4.2.0"
- cmake --build . --config Debug --parallel

# Configure and build FRUT with JUCE 4.3.1
- cmake .. -G "%GENERATOR%" -DJUCE_ROOT="%APPVEYOR_BUILD_FOLDER%/ci/tmp/JUCE-4.3.1"
- cmake --build . --config Debug --parallel

# Configure and build FRUT with JUCE 5.0.0
- cmake .. -G "%GENERATOR%" -DJUCE_ROOT="%APPVEYOR_BUILD_FOLDER%/ci/tmp/JUCE-5.0.0"
- cmake --build . --config Debug --parallel

# Configure and build FRUT with JUCE 5.2.1
- cmake .. -G "%GENERATOR%" -DJUCE_ROOT="%APPVEYOR_BUILD_FOLDER%/ci/tmp/JUCE-5.2.1"
- cmake --build . --config Debug --parallel

# Configure and build FRUT with JUCE 5.3.1
- cmake .. -G "%GENERATOR%" -DJUCE_ROOT="%APPVEYOR_BUILD_FOLDER%/ci/tmp/JUCE-5.3.1"
- cmake --build . --config Debug --parallel

# Configure and build FRUT with JUCE 5.4.3
- cmake .. -G "%GENERATOR%" -DJUCE_ROOT="%APPVEYOR_BUILD_FOLDER%/ci/tmp/JUCE-5.4.3"
- cmake --build . --config Debug --parallel

# Configure and build FRUT with JUCE 5.4.7
- cmake .. -G "%GENERATOR%" -DJUCE_ROOT="%APPVEYOR_BUILD_FOLDER%/ci/tmp/JUCE-5.4.7"
- cmake --build . --config Debug --parallel

# Configure and build FRUT with JUCE 6.0.5
- cmake .. -G "%GENERATOR%" -DJUCE_ROOT="%APPVEYOR_BUILD_FOLDER%/ci/tmp/JUCE-6.0.5"
- cmake --build . --config Debug --parallel

# Configure and build FRUT with JUCE 6.1.6
- cmake .. -G "%GENERATOR%" -DJUCE_ROOT="%APPVEYOR_BUILD_FOLDER%/ci/tmp/JUCE-6.1.6"
- cmake --build . --config Debug --parallel

# JUCE 6.1.6 is the last JUCE version that supports Visual Studio 2015

# Build and install FRUT in ./prefix
- cmake .. -DCMAKE_INSTALL_PREFIX="%APPVEYOR_BUILD_FOLDER%/prefix"
- cmake --build . --config Release --target install --parallel


build_script:
- mkdir %APPVEYOR_BUILD_FOLDER%\build
- cd %APPVEYOR_BUILD_FOLDER%\build
Expand Down Expand Up @@ -253,6 +306,10 @@ build_script:
- cmake .. -G "%GENERATOR%" -DJUCE_ROOT="%APPVEYOR_BUILD_FOLDER%/ci/tmp/JUCE-6.1.6"
- cmake --build . --config Debug --parallel

# Configure and build FRUT with JUCE 7.0.0
- cmake .. -G "%GENERATOR%" -DJUCE_ROOT="%APPVEYOR_BUILD_FOLDER%/ci/tmp/JUCE-7.0.0"
- cmake --build . --config Debug --parallel

# Build and install FRUT in ./prefix
- cmake .. -DCMAKE_INSTALL_PREFIX="%APPVEYOR_BUILD_FOLDER%/prefix"
- cmake --build . --config Release --target install --parallel
Expand Down Expand Up @@ -302,6 +359,10 @@ test_script:
cmake -DJUCE_VERSION="6.1.6"
-DJucer2CMake_EXE="prefix/FRUT/bin/Jucer2CMake.exe"
-P ci/apply-Jucer2CMake-reprojucer-to-JUCE-jucers.cmake
- >
cmake -DJUCE_VERSION="7.0.0"
-DJucer2CMake_EXE="prefix/FRUT/bin/Jucer2CMake.exe"
-P ci/apply-Jucer2CMake-reprojucer-to-JUCE-jucers.cmake
- git diff --quiet

- mkdir %APPVEYOR_BUILD_FOLDER%\ci\AllJuceProjects\build
Expand Down Expand Up @@ -348,3 +409,6 @@ test_script:

# Configure all JUCE 6.1.6 projects
- cmake .. -G "%GENERATOR%" -DJUCE_VERSION="6.1.6"

# Configure all JUCE 7.0.0 projects
- cmake .. -G "%GENERATOR%" -DJUCE_VERSION="7.0.0"
2 changes: 1 addition & 1 deletion .azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ trigger:
parameters:
- name: juceVersions
type: object
default: [4.2.0, 4.3.1, 5.0.0, 5.2.1, 5.3.1, 5.4.3, 5.4.7, 6.0.5, 6.1.6]
default: [4.2.0, 4.3.1, 5.0.0, 5.2.1, 5.3.1, 5.4.3, 5.4.7, 6.0.5, 6.1.6, 7.0.0]

jobs:
- job: iOS
Expand Down

0 comments on commit 71dc09f

Please sign in to comment.