Skip to content

Commit

Permalink
test31
Browse files Browse the repository at this point in the history
Signed-off-by: Cary Phillips <[email protected]>
  • Loading branch information
cary-ilm committed Mar 27, 2024
1 parent a85b051 commit a0e8a73
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 32 deletions.
23 changes: 1 addition & 22 deletions .github/workflows/website_workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,6 @@ jobs:
strategy:
matrix:
os: [ubuntu-20.04, macos-latest, windows-latest]
# include:
# - os: ubuntu-latest
# SPHINX_OPTS: "-W"

env:
DOXYGEN_VERSION: 1.9.1
Expand All @@ -51,30 +48,12 @@ jobs:
- name: Create build directory
run: mkdir _build
- name: Install doxygen
run: ./website/scripts/install_doxygen.sh ${DOXYGEN_VERSION} ${{ matrix.os }}
# run: |
# if [ "${{ matrix.os }}" == "ubuntu-latest" ]; then
# sudo apt-get install -y doxygen
# elif [ "${{ matrix.os }}" == "macos-latest" ]; 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 [ "${{ matrix.os }}" == "windows-latest" ]; 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
run: ./website/scripts/install_doxygen.sh ${DOXYGEN_VERSION}
shell: bash
- name: Install sphinx requirements
run: pip3 install -r website/requirements.txt
- name: Configure
run: cmake .. -DBUILD_WEBSITE=ON
# run: cmake .. -DBUILD_WEBSITE=ON -DSPHINX_OPTS=${{ matrix.SPHINX_OPTS }}
working-directory: _build
- name: Build
run: cmake --build . --target website --config Release
Expand Down
7 changes: 0 additions & 7 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,6 @@ build:
os: "ubuntu-22.04"
tools:
python: "3.9"
apt_packages:
- wget # for test images
- imagemagick # for convert, for test images
- openexr # for exrheader, for test images
jobs:
pre_build:
- python website/scripts/test_images.py

sphinx:
configuration: website/conf.py
Expand Down
4 changes: 1 addition & 3 deletions website/scripts/install_doxygen.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@
set -x

DOXYGEN_VERSION=$1
OS=$2
echo "OSTYPE=$OSTYPE"

if [[ $OSTYPE == *linux* ]]; then
sudo apt-get install -y doxygen
Expand All @@ -15,7 +13,7 @@ elif [[ $OSTYPE == *darwin* ]]; then
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 == *win* ]]; then
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
Expand Down

0 comments on commit a0e8a73

Please sign in to comment.