-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[actions] split doxygen/gh-pages (tag) from tests (push/PR).
- Loading branch information
1 parent
1e22b52
commit 414084e
Showing
2 changed files
with
30 additions
and
9 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 |
---|---|---|
@@ -1,8 +1,8 @@ | ||
name: build dist | ||
|
||
on: | ||
create: | ||
tags: | ||
push: | ||
pull_request: | ||
|
||
jobs: | ||
linux-build: | ||
|
@@ -21,10 +21,3 @@ jobs: | |
echo y | sudo apt-get install doxygen | ||
- name: run tests | ||
run: clang cmidi2_test.c -o cmidi2_test && ./cmidi2_test | ||
- name: generate documentation | ||
run: doxygen | ||
- name: deploy to GitHub Pages | ||
uses: JamesIves/[email protected] | ||
with: | ||
branch: gh-pages | ||
folder: html |
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,28 @@ | ||
name: build dist | ||
|
||
on: | ||
create: | ||
tags: | ||
|
||
jobs: | ||
linux-build: | ||
name: build on linux | ||
runs-on: ubuntu-20.04 | ||
steps: | ||
- name: checkout | ||
uses: actions/checkout@v1 | ||
with: | ||
submodules: recursive | ||
- name: apt update | ||
run: | | ||
sudo apt-get update | ||
- name: apt install | ||
run: | | ||
echo y | sudo apt-get install doxygen | ||
- name: generate documentation | ||
run: doxygen | ||
- name: deploy to GitHub Pages | ||
uses: JamesIves/[email protected] | ||
with: | ||
branch: gh-pages | ||
folder: html |