-
-
Notifications
You must be signed in to change notification settings - Fork 225
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
74 changed files
with
5,054 additions
and
3,230 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
# Build the Doxygen documentation (User manual and API reference) and publish it to www.reactphysics3d.com website | ||
name: Publish Documentation | ||
|
||
# Controls when the action will run. Triggers the workflow on push | ||
on: | ||
push: | ||
branches: | ||
- master | ||
|
||
jobs: | ||
documentation: | ||
name: Build/Publish Documentation | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
|
||
- name: Install dependencies | ||
run: | | ||
sudo apt-get update | ||
sudo apt-get install cmake doxygen texlive-latex-extra ghostscript | ||
cmake --version | ||
doxygen --version | ||
- name: CMake Configure | ||
shell: bash | ||
run: | | ||
mkdir build | ||
cmake \ | ||
-S . \ | ||
-B build \ | ||
-DRP3D_COMPILE_LIBRARY=False \ | ||
-DRP3D_GENERATE_DOCUMENTATION=True \ | ||
-DRP3D_COMPILE_TESTS=False \ | ||
-DRP3D_COMPILE_TESTBED=False | ||
- name: Build Documentation | ||
shell: bash | ||
run: cmake --build build/ | ||
|
||
- name: Publish to FTP of website | ||
uses: SamKirkland/[email protected] | ||
with: | ||
server: ftp.cluster010.ovh.net | ||
username: ${{ secrets.ftp_username }} | ||
password: ${{ secrets.ftp_password }} | ||
local-dir: ./build/documentation/html/ | ||
server-dir: /wwwrp3d/documentation/ | ||
dangerous-clean-slate: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
# Build, run tests and create a new release using the CHANGELOG.md file as release notes | ||
name: release | ||
|
||
# Controls when the action will run. Triggers the workflow on push with a release tag | ||
on: | ||
push: | ||
tags: | ||
- "v[0-9]+.[0-9]+.[0-9]+" | ||
|
||
# A workflow run is made up of one or more jobs that can run sequentially or in parallel | ||
jobs: | ||
|
||
# Reuse the workflow to build and test the library | ||
build-and-test: | ||
name: Build and Test | ||
uses: ./.github/workflows/build-and-test.yml | ||
secrets: | ||
codecov_token: ${{ secrets.CODECOV_TOKEN }} | ||
|
||
# Create a new release | ||
create-release: | ||
name: Create Release | ||
runs-on: ubuntu-latest | ||
needs: [build-and-test] | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
|
||
- name: Build Documentation | ||
uses: docker://antonyurchenko/git-release:v6 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
DRAFT_RELEASE: "false" | ||
PRE_RELEASE: "false" | ||
ALLOW_EMPTY_CHANGELOG: "false" | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
Oops, something went wrong.