-
Notifications
You must be signed in to change notification settings - Fork 621
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Build website on windows/macos, and remote unnecessary installs (#1701)
Readthedocs builds the website on ubuntu-20.04, so technically that's the only system that requires the website to build properly, but developers contributing to the website may work on Windows or macOS, so this confirms that it builds properly there, too. Now that the test image files are no longer generated at build time, no need to install imagemagic and openexr or run the test_image.py script. Signed-off-by: Cary Phillips <[email protected]>
- Loading branch information
Showing
4 changed files
with
54 additions
and
29 deletions.
There are no files selected for viewing
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
#!/usr/bin/env bash | ||
|
||
# SPDX-License-Identifier: BSD-3-Clause | ||
# Copyright (c) Contributors to the OpenEXR Project. | ||
# | ||
# Used by the website.yml workflow | ||
# | ||
|
||
set -x | ||
|
||
DOXYGEN_VERSION=$1 | ||
|
||
if [[ $OSTYPE == *linux* ]]; then | ||
sudo apt-get install -y doxygen | ||
elif [[ $OSTYPE == *darwin* ]]; then | ||
wget https://github.com/doxygen/doxygen/releases/download/Release_${DOXYGEN_VERSION//./_}/Doxygen-${DOXYGEN_VERSION}.dmg | ||
sudo hdiutil attach Doxygen-${DOXYGEN_VERSION}.dmg | ||
sudo cp /Volumes/Doxygen/Doxygen.app/Contents/MacOS/Doxywizard /usr/local/bin | ||
sudo cp /Volumes/Doxygen/Doxygen.app/Contents/Resources/doxygen /usr/local/bin | ||
sudo cp /Volumes/Doxygen/Doxygen.app/Contents/Resources/doxyindexer /usr/local/bin | ||
sudo hdiutil detach /Volumes/Doxygen | ||
elif [[ $OSTYPE == *msys* ]]; then | ||
mkdir doxygen | ||
cd doxygen | ||
curl -kLSs https://github.com/doxygen/doxygen/releases/download/Release_${DOXYGEN_VERSION//./_}/doxygen-${DOXYGEN_VERSION}.windows.x64.bin.zip -o doxygen.zip | ||
unzip doxygen.zip | ||
cp * c:\\Windows | ||
fi |