mirror of
https://github.com/slsdetectorgroup/aare.git
synced 2025-06-25 20:51:08 +02:00
save artifact
Some checks failed
Build the package using cmake then documentation / build (ubuntu-latest, 3.12) (push) Failing after 2s
Some checks failed
Build the package using cmake then documentation / build (ubuntu-latest, 3.12) (push) Failing after 2s
This commit is contained in:
@ -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/
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
12
.github/workflows/build_docs.yml
vendored
12
.github/workflows/build_docs.yml
vendored
@ -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: |
|
||||||
|
Reference in New Issue
Block a user