-
Notifications
You must be signed in to change notification settings - Fork 0
32 lines (27 loc) · 905 Bytes
/
viewer.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
on:
workflow_dispatch:
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 }}