-
Notifications
You must be signed in to change notification settings - Fork 0
45 lines (37 loc) · 1.16 KB
/
deploy.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
33
34
35
36
37
38
39
40
41
42
43
44
45
name: Deploy
on:
push:
branches:
- '*'
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install dependencies
run: |
sudo apt update
sudo apt install meson clang
sudo apt install libasound2-dev
- name: Build C++ project
run: |
cd libfakedevice-cpp
./autorun.sh
- name: Build C project
run: |
cd libfakedevice-c
./autorun.sh
- name: Build Rust project
run: |
cd libfakedevice
cargo build --release --target-dir=../binaries/libfakedevice-rust/
- name: Create a release
uses: softprops/action-gh-release@v1
with:
tag_name: v1.0.0
files: |
./binaries/libfakedevice-cpp/**
./binaries/libfakedevice-c/**
./binaries/libfakedevice-rust/release/**
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}