Skip to content

Commit

Permalink
fix release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
rath3t committed Jan 19, 2024
1 parent 7fd9d26 commit 45f81c3
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 11 deletions.
21 changes: 13 additions & 8 deletions .github/workflows/createRelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ env:
jobs:
Run:
runs-on: ubuntu-latest
container:
image: ikarusproject/ikarus-dev:latest
options: --memory-swap="20g" --memory="20g" --cpus="2" --user root
steps:
- uses: actions/checkout@v2
with:
Expand Down Expand Up @@ -46,14 +49,14 @@ jobs:
run: |
pip install mkdocs mkdocs-macros-plugin mkdocs-drawio-exporter mkdocs-bibtex mike mkdocs-glightbox pillow cairosvg
pip install git+https://${{ secrets.MKDOCS_TOKEN }}@github.com/squidfunk/mkdocs-material-insiders.git
sudo apt-get install libcairo2-dev libfreetype6-dev libffi-dev libjpeg-dev libpng-dev libz-dev
apt-get update && apt-get install -y libcairo2-dev libfreetype6-dev libffi-dev libjpeg-dev libpng-dev libz-dev
- name: Build Doxygen
run: |
git clone https://github.com/jothepro/doxygen-awesome-css.git
git clone https://github.com/jothepro/doxygen-awesome-css.git
cd doxygen-awesome-css
make install
apt-get install texlive-base
apt-get install -y texlive-base
cd ..
cd repo
mkdir build_docs
Expand Down Expand Up @@ -84,9 +87,11 @@ jobs:
path: .cache
- name: Build Website for offline use
run: |
cd ./repo/docs
cmake -B .build
cmake --build .build --target site
cd ./repo/
mkdir build_docs_offline
cd build_docs_offline
cmake .. -DBUILD_DOCS=1 -DDUNE_ENABLE_PYTHONBINDINGS=0
cmake --build . --target site
mv site documentation-v$NEWVERSION
tar -czf docs-v$NEWVERSION.tar.gz ./documentation-v$NEWVERSION
zip -9r docs-v$NEWVERSION.zip ./documentation-v$NEWVERSION
Expand Down Expand Up @@ -154,8 +159,8 @@ jobs:
prerelease: true
title: ${{ github.event.inputs.releaseTag }}
files: |
./repo/docs/docs-v${{ github.event.inputs.releaseTag }}.tar.gz
./repo/docs/docs-v${{ github.event.inputs.releaseTag }}.zip
./repo/build_docs_offline/docs-v${{ github.event.inputs.releaseTag }}.tar.gz
./repo/build_docs_offline/docs-v${{ github.event.inputs.releaseTag }}.zip
ikarus-dev-docker-v${{ github.event.inputs.releaseTag }}.tar.gz
ikarus-docker-v${{ github.event.inputs.releaseTag }}.tar.gz
ikarus-examples-v${{ github.event.inputs.releaseTag }}.tar.gz
Expand Down
2 changes: 1 addition & 1 deletion docs/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ add_subdirectory(website/doxygen)

add_custom_target(
site
COMMAND xvfb-run -a mkdocs build --config-file mkdocs.insiders.yml
COMMAND mkdocs build --config-file mkdocs.insiders.yml
WORKING_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}"
)

Expand Down
1 change: 1 addition & 0 deletions docs/website/doxygen/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@
# [email protected] SPDX-License-Identifier: LGPL-3.0-or-later
file(GLOB_RECURSE HEADERS CONFIGURE_DEPENDS ../../../ikarus/**/*.hh ../../../ikarus/**/*.inl)
list(APPEND HEADERS modules.hh mainpage.md Doxylocal ../../literature.bib)
include(DuneDoxygen)
add_doxygen_target(DEPENDS ${HEADERS})
message(STATUS "Add doxygen target")
4 changes: 2 additions & 2 deletions docs/website/doxygen/mainpage.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Introduction {#mainpage}
# Introduction

<!--
SPDX-FileCopyrightText: 2021-2024 The Ikarus Developers [email protected]
Expand Down Expand Up @@ -37,7 +37,7 @@ the academic context, please cite publication:
@data{darus-3303_2023,
author = {Müller, Alexander and Vinod Kumar Mitruka, Tarun Kumar Mitruka},
publisher = {DaRUS},
title = {{Ikarus v0.3}},
title = {Ikarus v0.3},
year = {2023},
version = {V1},
doi = {10.18419/darus-3303},
Expand Down

0 comments on commit 45f81c3

Please sign in to comment.