Skip to content

Commit c76b929

Browse files
Merge branch 'develop'
2 parents c2201c5 + 6344272 commit c76b929

File tree

74 files changed

+5054
-3230
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

74 files changed

+5054
-3230
lines changed

.github/workflows/build-and-test.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,10 @@ on:
88
- master
99
- develop
1010
pull_request:
11-
release:
11+
workflow_call:
12+
secrets:
13+
codecov_token:
14+
required: true
1215

1316
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
1417
jobs:
@@ -306,8 +309,8 @@ jobs:
306309
307310
- name: Upload coverage to Codecov
308311
if: ${{ matrix.config.coverage }}
309-
uses: codecov/codecov-action@v2
312+
uses: codecov/codecov-action@v4
310313
with:
311314
fail_ci_if_error: true
315+
token: ${{ secrets.codecov_token }}
312316
verbose: false
313-
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
# Build the Doxygen documentation (User manual and API reference) and publish it to www.reactphysics3d.com website
2+
name: Publish Documentation
3+
4+
# Controls when the action will run. Triggers the workflow on push
5+
on:
6+
push:
7+
branches:
8+
- master
9+
10+
jobs:
11+
documentation:
12+
name: Build/Publish Documentation
13+
runs-on: ubuntu-latest
14+
steps:
15+
- name: Checkout
16+
uses: actions/checkout@v4
17+
18+
- name: Install dependencies
19+
run: |
20+
sudo apt-get update
21+
sudo apt-get install cmake doxygen texlive-latex-extra ghostscript
22+
cmake --version
23+
doxygen --version
24+
25+
- name: CMake Configure
26+
shell: bash
27+
run: |
28+
mkdir build
29+
cmake \
30+
-S . \
31+
-B build \
32+
-DRP3D_COMPILE_LIBRARY=False \
33+
-DRP3D_GENERATE_DOCUMENTATION=True \
34+
-DRP3D_COMPILE_TESTS=False \
35+
-DRP3D_COMPILE_TESTBED=False
36+
37+
- name: Build Documentation
38+
shell: bash
39+
run: cmake --build build/
40+
41+
- name: Publish to FTP of website
42+
uses: SamKirkland/[email protected]
43+
with:
44+
server: ftp.cluster010.ovh.net
45+
username: ${{ secrets.ftp_username }}
46+
password: ${{ secrets.ftp_password }}
47+
local-dir: ./build/documentation/html/
48+
server-dir: /wwwrp3d/documentation/
49+
dangerous-clean-slate: true

.github/workflows/release.yml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
# Build, run tests and create a new release using the CHANGELOG.md file as release notes
2+
name: release
3+
4+
# Controls when the action will run. Triggers the workflow on push with a release tag
5+
on:
6+
push:
7+
tags:
8+
- "v[0-9]+.[0-9]+.[0-9]+"
9+
10+
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
11+
jobs:
12+
13+
# Reuse the workflow to build and test the library
14+
build-and-test:
15+
name: Build and Test
16+
uses: ./.github/workflows/build-and-test.yml
17+
secrets:
18+
codecov_token: ${{ secrets.CODECOV_TOKEN }}
19+
20+
# Create a new release
21+
create-release:
22+
name: Create Release
23+
runs-on: ubuntu-latest
24+
needs: [build-and-test]
25+
steps:
26+
- name: Checkout
27+
uses: actions/checkout@v4
28+
29+
- name: Build Documentation
30+
uses: docker://antonyurchenko/git-release:v6
31+
env:
32+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
33+
DRAFT_RELEASE: "false"
34+
PRE_RELEASE: "false"
35+
ALLOW_EMPTY_CHANGELOG: "false"
36+
37+
38+

.gitmodules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,6 @@
22
path = testbed/extern/nanogui
33
url = https://github.com/mitsuba-renderer/nanogui.git
44
ignore = dirty
5+
[submodule "documentation/doxygen-awesome-css"]
6+
path = documentation/doxygen-awesome-css
7+
url = https://github.com/jothepro/doxygen-awesome-css.git

CHANGELOG.md

Lines changed: 309 additions & 289 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)