remove amd64 from workflow matrix #2
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
name: Build and Publish RC | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
on: | |
push: | |
tags: | |
- '[0-9]+.[0-9]+.[0-9]+' | |
# To test workflow updates you need to work in a branch directly on viamrobotics/viam-cartographer | |
# and tag your working branch instead of @main in any viamrobotics/viam-cartographer "uses" below. | |
# Don't forget to tag back to @main before merge. | |
jobs: | |
test: | |
uses: ./.github/workflows/test.yml | |
publish: | |
strategy: | |
matrix: | |
include: | |
- arch: buildjet-8vcpu-ubuntu-2204-arm | |
image: ghcr.io/viamrobotics/rdk-devenv:arm64-cache | |
platform: linux/arm64 | |
label: arm64 | |
runs-on: ${{ matrix.arch }} | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Go | |
uses: actions/setup-go@v2 | |
with: | |
go-version: 1.23 | |
- name: Install canon | |
run: | | |
export PATH="$(go env GOPATH)/bin:$PATH" | |
go install github.com/viamrobotics/canon@v1.0.0 | |
- name: Build and package | |
run: | | |
canon --profile nvidia | |
TARGET_OS=${{ matrix.platform }} TARGET_ARCH=${{ matrix.arch }} make module | |
- name: Upload nvidia module to registry | |
uses: viamrobotics/upload-module@main | |
with: | |
meta-path: meta.json | |
module-path: bin/module.tar.gz | |
platform: ${{ matrix.platform }} | |
version: ${{ github.ref_name }} | |
key-id: ${{ secrets.VIAM_DEV_API_KEY_ID }} | |
key-value: ${{ secrets.VIAM_DEV_API_KEY }} |