Skip to content

Commit

Permalink
remove debug, enable doc build
Browse files Browse the repository at this point in the history
  • Loading branch information
matthiasdiener committed Jul 24, 2023
1 parent 1966968 commit 119402d
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 23 deletions.
8 changes: 4 additions & 4 deletions .ci-support/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ if [[ "$(uname)" = "Darwin" ]]; then
else
if ! command -v mpicc &> /dev/null ;then
sudo apt-get update
sudo apt-get -y install libopenmpi-dev openmpi-bin moreutils
sudo apt-get -y install libopenmpi-dev openmpi-bin
fi
if ! command -v octave &> /dev/null ;then
sudo apt-get -y install octave
Expand All @@ -29,7 +29,7 @@ bash "$MINIFORGE_INSTALL_SH" -b -p "$MINIFORGE_INSTALL_DIR"
#PATH="$MINIFORGE_INSTALL_DIR/bin/:$PATH" conda update conda --yes --quiet
#PATH="$MINIFORGE_INSTALL_DIR/bin/:$PATH" conda update --all --yes --quiet

$MINIFORGE_INSTALL_DIR/bin/mamba env create --file conda-env.yml --name testing | ts
$MINIFORGE_INSTALL_DIR/bin/mamba env create --file conda-env.yml --name testing

. "$MINIFORGE_INSTALL_DIR/bin/activate" testing
conda list
Expand All @@ -38,5 +38,5 @@ conda list
rm -rf $MINIFORGE_INSTALL_DIR/envs/testing/x86_64-conda-linux-gnu/sysroot

. "$MINIFORGE_INSTALL_DIR/bin/activate" testing
pip install -r requirements.txt | ts
python setup.py install | ts
pip install -r requirements.txt
python setup.py install
38 changes: 19 additions & 19 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -130,28 +130,28 @@ jobs:
# # && export POCL_DEBUG=cuda
# scripts/run-integrated-tests.sh --examples

# doc:
# name: Documentation
# runs-on: ubuntu-latest
doc:
name: Documentation
runs-on: ubuntu-latest

# steps:
# - uses: actions/checkout@v3
# - name: Install
# run: |
# . .ci-support/install.sh
steps:
- uses: actions/checkout@v3
- name: Install
run: |
. .ci-support/install.sh
# - name: Build docs
# run: |
# MINIFORGE_INSTALL_DIR=.miniforge3
# . "$MINIFORGE_INSTALL_DIR/bin/activate" testing
- name: Build docs
run: |
MINIFORGE_INSTALL_DIR=.miniforge3
. "$MINIFORGE_INSTALL_DIR/bin/activate" testing
# sudo apt-get update
# sudo apt-get install texlive-latex-extra latexmk
# conda install sphinx graphviz 'docutils>=0.16'
# pip install sphinx-math-dollar sphinx-copybutton furo
# cd doc
# make html SPHINXOPTS="-W --keep-going -n"
# make latexpdf SPHINXOPTS="-W --keep-going -n"
sudo apt-get update
sudo apt-get install texlive-latex-extra latexmk
conda install sphinx graphviz 'docutils>=0.16'
pip install sphinx-math-dollar sphinx-copybutton furo
cd doc
make html SPHINXOPTS="-W --keep-going -n"
make latexpdf SPHINXOPTS="-W --keep-going -n"
# emirge:
# name: Emirge installation
Expand Down

0 comments on commit 119402d

Please sign in to comment.