Skip to content

Uplift 2024-06-27

Uplift 2024-06-27 #2

name: Build artifacts
on:
workflow_dispatch:
workflow_call:
push:
branches:
- main
pull_request:
branches:
- main
env:
PYTHON_VERSION: "python3.10"
jobs:
build-artifacts:
strategy:
matrix:
arch: ["grayskull", "wormhole_b0"]
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/install-deps
with:
os: ubuntu-22.04
- name: Update submodule
run: git submodule update --init --recursive
- name: Build for ${{ matrix.arch }}
run: |
if '${{ matrix.arch }}'' == 'grayskull'; then
source env_for_silicon.sh
elif '${{ matrix.arch }}' == 'wormhole_b0'; then
source env_for_wormhole_b0.sh
fi