-
Notifications
You must be signed in to change notification settings - Fork 0
40 lines (35 loc) · 1021 Bytes
/
Copy pathrelease.yml
File metadata and controls
40 lines (35 loc) · 1021 Bytes
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
33
34
35
36
37
38
39
40
name: Build Release Binaries
on:
push:
tags:
- 'v*'
- 'latest*'
jobs:
build:
name: Build on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
include:
- os: windows-latest
target: x86_64-pc-windows-msvc
name: dspv-windows.exe
- os: ubuntu-latest
target: x86_64-unknown-linux-gnu
name: dspv-linux
- os: macos-latest
target: x86_64-apple-darwin
name: dspv-macos
steps:
- uses: actions/checkout@v4
- name: Install Rust
uses: dtolnay/rust-toolchain@stable
with:
targets: ${{ matrix.target }}
- name: Build target
run: cargo build --release --target ${{ matrix.target }}
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: ${{ matrix.name }}
path: target/${{ matrix.target }}/release/Dynamic-Secure-Portable-Volume${{ matrix.os == 'windows-latest' && '.exe' || '' }}