forked from arctic-hen7/bonnie
-
Notifications
You must be signed in to change notification settings - Fork 0
36 lines (33 loc) · 1.23 KB
/
cd-dev.yml
File metadata and controls
36 lines (33 loc) · 1.23 KB
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
name: Build and Release (Dev)
# runs manually and without creating a release
# for testing changes to the main cd.yml workflow
on: [workflow_dispatch]
jobs:
# This builds and releases for Windows, MacOS, and Linux
usu-build-release:
runs-on: ${{ matrix.os }}
strategy:
matrix:
include:
- os: ubuntu-latest
artifact_name: bx
asset_name: bx-linux-amd64
- os: macos-latest
artifact_name: bx
asset_name: bx-macos-amd64
- os: windows-latest
artifact_name: bx.exe
asset_name: bx-windows-amd64
steps:
- uses: actions/checkout@v4
- name: Build
run: cargo build --release --locked
# This builds and releases for musl
musl-build-release:
runs-on: ubuntu-latest # We cross-compile from Ubuntu
steps:
- uses: actions/checkout@v4
- name: Install musl toolchain
run: rustup target add x86_64-unknown-linux-musl
- name: Build
run: cargo build --release --target x86_64-unknown-linux-musl --locked