-
Notifications
You must be signed in to change notification settings - Fork 39
38 lines (37 loc) · 966 Bytes
/
main.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
name: Build uOFW
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
container:
image: pspdev/pspdev:latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Install dependencies
run: |
apk add build-base
- name: Build project
run: |
make -k
documentation:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Install dependencies
run: |
sudo apt-get install doxygen
- name: Build documentation
run: |
mkdir github-pages
cd github-pages
doxygen ../docs/Doxyfile
- name: Deploy documentation
if: github.ref == 'refs/heads/master'
uses: JamesIves/github-pages-deploy-action@4.1.0
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: gh-pages
FOLDER: github-pages
CLEAN: true