Skip to content

Commit

Permalink
use run image (#576)
Browse files Browse the repository at this point in the history
Co-authored-by: Mohamed Koubaa <koubaa@github.com>
  • Loading branch information
koubaa and Mohamed Koubaa authored Nov 11, 2024
1 parent d4f9d9a commit 09a1a4d
Showing 1 changed file with 5 additions and 11 deletions.
16 changes: 5 additions & 11 deletions .github/workflows/ci_cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ jobs:

doc:
name: "Documentation build"
runs-on: public-ubuntu-latest-8-cores
runs-on: ubuntu-latest
needs: [doc-style]
steps:
- name: "Checkout project"
Expand Down Expand Up @@ -110,25 +110,19 @@ jobs:
docker pull ghcr.io/ansys/ls-pre:latest
docker run -d --name kw_server -p 50051:50051 ghcr.io/ansys/ls-pre:latest && echo "Keyword server active on port 50051."
- name: Build local LS-DYNA Solver runner image
- name: Pull PyDyna-run image
run: |
cd docker/run
docker build . -t dyna_run \
--build-arg LSTC_LICENSE=ansys \
--build-arg ANSYSLI_SERVERS=2325@${{secrets.LICENSE_SERVER}} \
--build-arg ANSYSLMD_LICENSE_FILE=1055@${{secrets.LICENSE_SERVER}}
docker image ls
cd ../..
docker pull ghcr.io/ansys/pydyna-run:latest
- name: "Build the html documentation"
env:
PYDYNA_RUN_CONTAINER: dyna_run:latest
PYDYNA_RUN_CONTAINER: ghcr.io/ansys/pydyna-run:latest
run: |
xvfb-run make -C doc html
- name: "Build the pdf documentation"
env:
PYDYNA_RUN_CONTAINER: dyna_run:latest
PYDYNA_RUN_CONTAINER: ghcr.io/ansys/pydyna-run:latest
run: |
make -C doc pdf
Expand Down

0 comments on commit 09a1a4d

Please sign in to comment.