Skip to content

fix(project): minor changes for better compatibility with newer pocke… #2

fix(project): minor changes for better compatibility with newer pocke…

fix(project): minor changes for better compatibility with newer pocke… #2

Workflow file for this run

################################################################################
# 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:
- pocket
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