-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding Documenter.jl documentation (#92)
* Adding Documenter.jl documentation * Updating README * Use log files for OMCSession creation to prevent Documenter.jl to get stuck --------- Co-authored-by: arun3688 <[email protected]>
- Loading branch information
1 parent
7d5b841
commit 4637c5f
Showing
22 changed files
with
3,014 additions
and
1,213 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,7 +19,7 @@ jobs: | |
omc-version: ['stable'] | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@v4 | ||
|
||
- name: "Set up OpenModelica Compiler" | ||
uses: AnHeuermann/[email protected] | ||
|
@@ -38,6 +38,9 @@ jobs: | |
version: ${{ matrix.julia-version }} | ||
arch: ${{ matrix.julia-arch }} | ||
|
||
- name: Cache Julia | ||
uses: julia-actions/cache@v1 | ||
|
||
- name: "Build OMJulia" | ||
uses: julia-actions/julia-buildpkg@v1 | ||
|
||
|
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,47 @@ | ||
name: Documentation | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
tags: '*' | ||
pull_request: | ||
|
||
jobs: | ||
build: | ||
permissions: | ||
contents: write | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
julia-version: ['1.9'] | ||
julia-arch: [x64] | ||
os: [ubuntu-latest] | ||
timeout-minutes: 60 | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Setup OpenModelica | ||
uses: AnHeuermann/[email protected] | ||
with: | ||
version: 'nightly' | ||
packages: | | ||
'omc' | ||
- name: Setup Julia | ||
uses: julia-actions/setup-julia@v1 | ||
with: | ||
version: ${{ matrix.julia-version }} | ||
arch: ${{ matrix.julia-arch }} | ||
|
||
- name: Cache Julia | ||
uses: julia-actions/cache@v1 | ||
|
||
- name: Install dependencies | ||
run: julia --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate()' | ||
|
||
- name: Build and deploy | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # If authenticating with GitHub Actions token | ||
run: julia --project=docs/ docs/make.jl |
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,2 @@ | ||
/build/ | ||
/omc-temp/ |
Oops, something went wrong.