mirror of
https://github.com/dexoron/dcr.git
synced 2026-10-21 20:59:37 +00:00
Implement incremental linking and add DragonFly BSD VM build
This commit is contained in:
19
.github/workflows/release.yml
vendored
19
.github/workflows/release.yml
vendored
@@ -360,7 +360,7 @@ jobs:
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
system: [freebsd, openbsd, netbsd]
|
||||
system: [freebsd, openbsd, netbsd, dragonfly]
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
@@ -428,6 +428,23 @@ jobs:
|
||||
cp target/release/dcr "$ASSET"
|
||||
echo "BSD_ASSET=${ASSET}" >> "$GITHUB_ENV"
|
||||
|
||||
# --- DRAGONFLYBSD ---
|
||||
- name: Build in DragonFly BSD VM
|
||||
if: matrix.system == 'dragonfly'
|
||||
uses: vmactions/dragonflybsd-vm@v1
|
||||
with:
|
||||
usesh: true
|
||||
run: |
|
||||
pkg install -y rust perl5 gmake
|
||||
cargo build --release
|
||||
|
||||
- name: Prepare DragonFly BSD Artifact
|
||||
if: matrix.system == 'dragonfly'
|
||||
run: |
|
||||
ASSET="dcr-x86_64-unknown-dragonfly-${{ needs.setup.outputs.version }}"
|
||||
cp target/release/dcr "$ASSET"
|
||||
echo "BSD_ASSET=${ASSET}" >> "$GITHUB_ENV"
|
||||
|
||||
# --- UPLOAD TARGET ---
|
||||
- name: Upload BSD Asset to Release
|
||||
uses: softprops/action-gh-release@v2
|
||||
|
||||
Reference in New Issue
Block a user