feat(pocket): Initial release #1
Workflow file for this run
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
################################################################################ | |
# SPDX-License-Identifier: CC0-1.0 | |
# SPDX-FileType: OTHER | |
# SPDX-FileCopyrightText: (c) 2022, OpenGateware authors and contributors | |
################################################################################ | |
name: Build/Release | |
################################################################################ | |
# How to create a tag to launch the workflow | |
# git tag -a "0.1.0" -m "Release v0.1.0" | |
# git push origin --tags | |
################################################################################ | |
on: | |
push: | |
tags: | |
- "[0-9]+.[0-9]+.[0-9]+" | |
jobs: | |
synthesis: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
target: | |
env: | |
CORE: irem_m92 | |
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
GH_PAT: ${{ secrets.PAT_TOKEN }} | |
WEBHOOK_RAETRO: ${{ secrets.RAETRO_WEBHOOK }} | |
WEBHOOK_FPGAGAMING: ${{ secrets.FPGAGAMING_WEBHOOK }} | |
steps: | |
- name: "🧰 Checkout Repository" | |
uses: actions/checkout@v4 | |
- name: "🧰 Checkout Packybara" | |
uses: actions/checkout@v4 | |
with: | |
repository: "boogermann/publish" | |
path: ".github/publish" | |
token: ${{ env.GH_PAT }} | |
- name: "🏗️ Compile Design" | |
uses: raetro/quartus-flow@v1 | |
with: | |
project: "${{ env.CORE }}_${{ matrix.target }}" | |
version: "${{ matrix.target }}" | |
- name: "🏗️ Create Packages and Release" | |
env: | |
TARGET: ${{ matrix.target }} | |
run: | | |
pip3 install -r .github/publish/requirements.txt | |
python3 .github/publish/${{ matrix.TARGET }}.py |