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
name: Build and Deploy | |
on: | |
push: | |
branches: | |
- main | |
workflow_dispatch: | |
jobs: | |
build-and-deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/[email protected] | |
- name: Install Jekyll | |
run: | | |
sudo apt-get install ruby-full build-essential zlib1g-dev cmake doxygen ninja-build | |
sudo apt-get install verilator | |
sudo gem install jekyll bundler jekyll-theme-tactile redcarpet pygments.rb jekyll-paginate | |
- name: Install Python | |
run: | | |
sudo apt-get install python3 | |
python3 -m pip install ivpm | |
- name: Install Dependencies | |
run: | | |
python3 -m ivpm update --anonymous-git | |
- name: Install and build | |
run: | | |
make | |
- name: Deploy | |
uses: JamesIves/[email protected] | |
with: | |
branch: gh-pages # The branch the action should deploy to. | |
folder: web # The folder the action should deploy. | |