uofw/.github/workflows/main.yml
2021-01-02 14:31:54 +01:00

32 lines
882 B
YAML

name: Build uOFW
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-16.04
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Install dependencies
run: |
sudo apt-get install doxygen
wget http://www.mirari.fr/VmX0 -O psptoolchain.deb
sudo dpkg --install psptoolchain.deb
- name: Build project
run: |
source /etc/profile.d/psptoolchain.sh
make -k
- 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@3.7.1
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: gh-pages
FOLDER: github-pages
CLEAN: true