Skip to content

add build for viewer #2

add build for viewer

add build for viewer #2

Workflow file for this run

on:
workflow_dispatch:
push:
tags:
- '*'
branches:
- main
- master
jobs:
build:
name: build ${{ matrix.platform }} ${{ matrix.target }}
strategy:
matrix:
include:
- platform: windows-latest
target: x86_64-pc-windows-msvc
output: extern_traces_viewer.exe
- platform: macos-latest
target: aarch64-apple-darwin
output: extern_traces_viewer
- platform: ubuntu-latest
target: x86_64-unknown-linux-gnu
output: extern_traces_viewer
runs-on: ${{ matrix.platform }}
steps:
- uses: actions/checkout@v4
- run: cargo build --target ${{ matrix.target }} --release
- name: save artifacts
if: success()
uses: actions/upload-artifact@v4
with:
name: build-${{ matrix.platform }}-${{ matrix.target }}
path: target/${{ matrix.target }}/release/${{ matrix.output }}