add action

This commit is contained in:
NishiOwO 2025-04-16 02:28:52 +09:00
parent ac28ac9154
commit 4c6b8e1c0b
No known key found for this signature in database
GPG Key ID: 27EF69B208EB9343
2 changed files with 30 additions and 0 deletions

View File

@ -24,6 +24,8 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: "true"
- name: Install packages
run: sudo apt-get install mingw-w64
- name: Run build script

28
.github/workflows/doxygen.md vendored Normal file
View File

@ -0,0 +1,28 @@
name: "Publish Doxygen page"
on:
push:
branches:
- master
workflow_dispatch:
jobs:
deploy:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install packages
run: sudo apt-get install doxygen
- name: Create directory
run: mkdir -p build
- name: Build engine document
run: cd engine && doxygen && mv doc/html build/engine
- name: Deploy
uses: DamesIves/github-pages-deploy-action@v4
with:
token: ${{ secrets.GITHUB_TOKEN }}
branch: gh-pages
folder: build