save artifact
Some checks failed
Build the package using cmake then documentation / build (ubuntu-latest, 3.12) (push) Failing after 2s

This commit is contained in:
froejdh_e
2025-04-02 09:24:52 +02:00
parent 3307b4480a
commit 30d1afd1a6
2 changed files with 14 additions and 11 deletions

View File

@ -5,7 +5,6 @@ on:
push: push:
permissions: permissions:
contents: read contents: read
pages: write pages: write
@ -16,12 +15,12 @@ jobs:
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
platform: [ubuntu-latest, ] # macos-12, windows-2019] platform: [ubuntu-latest, ]
python-version: ["3.12",] python-version: ["3.12", ]
runs-on: ${{ matrix.platform }} runs-on: ${{ matrix.platform }}
# The setup-miniconda action needs this to activate miniconda
defaults: defaults:
run: run:
shell: "bash -l {0}" shell: "bash -l {0}"
@ -51,6 +50,12 @@ jobs:
make -j 2 make -j 2
make docs make docs
- name: Upload static files as artifact
id: deployment
uses: actions/upload-pages-artifact@v4
with:
path: build/docs/html/

View File

@ -5,7 +5,6 @@ on:
push: push:
permissions: permissions:
contents: read contents: read
pages: write pages: write
@ -16,12 +15,11 @@ jobs:
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
platform: [ubuntu-latest, ] # macos-12, windows-2019] platform: [ubuntu-latest, ]
python-version: ["3.12",] python-version: ["3.12",]
runs-on: ${{ matrix.platform }} runs-on: ${{ matrix.platform }}
# The setup-miniconda action needs this to activate miniconda
defaults: defaults:
run: run:
shell: "bash -l {0}" shell: "bash -l {0}"
@ -30,13 +28,13 @@ jobs:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- name: Get conda - name: Get conda
uses: conda-incubator/setup-miniconda@v3.0.4 uses: conda-incubator/setup-miniconda@v3
with: with:
python-version: ${{ matrix.python-version }} python-version: ${{ matrix.python-version }}
environment-file: etc/dev-env.yml
miniforge-version: latest
channels: conda-forge channels: conda-forge
conda-remove-defaults: "true"
- name: Prepare
run: conda install doxygen sphinx=7.1.2 breathe pybind11 sphinx_rtd_theme furo nlohmann_json zeromq fmt numpy
- name: Build library - name: Build library
run: | run: |