Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 40 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: Build Release Binaries

on:
push:
tags:
- 'v*' # Se lance quand vous créez un tag type "v1.0"

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@v3

- 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@v3
with:
name: ${{ matrix.name }}
path: target/${{ matrix.target }}/release/Dynamic-Secure-Portable-Volume${{ matrix.os == 'windows-latest' && '.exe' || '' }}
Loading
Loading