Skip to content

Commit

Permalink
Initial release
Browse files Browse the repository at this point in the history
  • Loading branch information
bcwaldon committed May 23, 2023
0 parents commit bbee8f8
Show file tree
Hide file tree
Showing 436 changed files with 238,524 additions and 0 deletions.
58 changes: 58 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
name: ci
on:
# Runs on pushes targeting the default branch
push:
branches: ["*"]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: check out code
uses: actions/checkout@v3

- name: download toolchain
run: ./ci/download-toolchain

- name: build docker image
run: docker build -f ci/Dockerfile -t builder:latest .

- name: build software assets
run: docker run -v $(pwd):/workspace -w /workspace builder:latest make clean all

- name: build docs
run: docker run -v $(pwd):/workspace -w /workspace builder:latest doxygen Doxyfile

- name: upload docs artifact
uses: actions/upload-artifact@v3
with:
name: docs
path: docs/


deploy:
runs-on: ubuntu-latest
needs: build
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- uses: actions/download-artifact@master
with:
name: docs
path: .
- uses: actions/configure-pages@v3
- uses: actions/upload-pages-artifact@v1
with:
path: ./html/
- id: deployment
uses: actions/deploy-pages@v2
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
docs/
obj/
*.exe
*.elf
*.elf.map
cache/
Loading

0 comments on commit bbee8f8

Please sign in to comment.