-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #132 from SCOREC/ac/xsdk-changes
Changes for sdk approval
- Loading branch information
Showing
45 changed files
with
3,373 additions
and
380 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 |
---|---|---|
@@ -0,0 +1,47 @@ | ||
name: Install-Repo | ||
|
||
inputs: | ||
repo-name: | ||
required: true | ||
repo-path: | ||
required: true | ||
repo-ref: | ||
required: true | ||
options: | ||
required: true | ||
cache: | ||
required: true | ||
submodules: | ||
default: '' | ||
|
||
runs: | ||
using: "composite" | ||
steps: | ||
|
||
- name: Check Cache | ||
if: ${{ inputs.cache == 'true'}} | ||
uses: actions/cache@v3 | ||
id: check-cache | ||
with: | ||
key: build-${{ inputs.repo-name }} | ||
path: ${{ runner.temp }}/build-${{ inputs.repo-name }} | ||
|
||
- name: Checkout Repo | ||
uses: actions/checkout@v3 | ||
with: | ||
repository: ${{ inputs.repo-path }} | ||
submodules: ${{ inputs.submodules }} | ||
ref: ${{ inputs.repo-ref }} | ||
path: ${{ inputs.repo-name }} | ||
|
||
- name: Configure CMake | ||
if: ${{ !steps.check-cache.outputs.cache-hit }} | ||
shell: bash | ||
run: cmake -S $GITHUB_WORKSPACE/${{ inputs.repo-name }} -B ${{ runner.temp }}/build-${{ inputs.repo-name }} | ||
-DCMAKE_INSTALL_PREFIX=${{ runner.temp }}/build-${{ inputs.repo-name }}/install | ||
${{ inputs.options }} | ||
|
||
- name: Build Cmake | ||
if: ${{ !steps.check-cache.outputs.cache-hit }} | ||
shell: bash | ||
run: cmake --build ${{ runner.temp }}/build-${{ inputs.repo-name }} -j8 --target install |
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 @@ | ||
name: Update Doxygen Page | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
|
||
jobs: | ||
doxygen: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: write | ||
|
||
steps: | ||
|
||
- name: Install Doxygen | ||
run: | | ||
sudo apt-add-repository universe | ||
sudo apt-get update | ||
sudo apt-get install doxygen | ||
- name: Checkout Original | ||
uses: actions/checkout@v4 | ||
with: | ||
path: original | ||
|
||
- name: Run Doxygen | ||
working-directory: original | ||
run: doxygen | ||
|
||
- name: Checkout Pages | ||
uses: actions/checkout@v4 | ||
with: | ||
path: pages | ||
|
||
- name: Set up pages directory | ||
working-directory: pages | ||
run: | | ||
git checkout --orphan gh-pages | ||
git rm -rf . | ||
cp -r ../original/html/. . | ||
- name: Update Github | ||
working-directory: pages | ||
run: | | ||
git config user.name "GitHub Actions Bot" | ||
git config user.email "<>" | ||
git add . | ||
git commit -m "Update page from action" | ||
git push -f origin gh-pages |
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
Oops, something went wrong.