Skip to content

Commit

Permalink
Update gitlab action to build for wormhole_b0
Browse files Browse the repository at this point in the history
  • Loading branch information
vmilosevic committed Jun 27, 2024
1 parent b9c0cc0 commit 8364a9f
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 28 deletions.
17 changes: 15 additions & 2 deletions .github/workflows/build-artifacts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,24 @@ 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"]
arch: ["grayskull", "wormhole_b0"]
runs-on: ubuntu-22.04

steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/install-deps
Expand All @@ -21,4 +29,9 @@ jobs:
- name: Update submodule
run: git submodule update --init --recursive
- name: Build for ${{ matrix.arch }}
run: source env_for_silicon.sh
run: |
if '${{ matrix.arch }}' == 'grayskull'; then
source env_for_silicon.sh
elif '${{ matrix.arch }}' == 'wormhole_b0'; then
source env_for_wormhole_b0.sh
fi
13 changes: 0 additions & 13 deletions .github/workflows/post-commit-workflow.yml

This file was deleted.

13 changes: 0 additions & 13 deletions .github/workflows/pull-request-workflow.yml

This file was deleted.

0 comments on commit 8364a9f

Please sign in to comment.