From 478d1ad0c5547ed85d99dd4df255ccf688f7f202 Mon Sep 17 00:00:00 2001 From: peoplemiau1 Date: Fri, 29 May 2026 09:57:07 +0300 Subject: [PATCH] Remove DragonFly BSD support --- .github/workflows/release.yml | 17 +---------------- install.sh | 4 ++-- 2 files changed, 3 insertions(+), 18 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8668e7e..1f92d14 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -378,7 +378,7 @@ jobs: strategy: fail-fast: false matrix: - system: [freebsd, openbsd, netbsd, dragonfly] + system: [freebsd, openbsd, netbsd] steps: - uses: actions/checkout@v4 with: @@ -446,22 +446,7 @@ 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 diff --git a/install.sh b/install.sh index 08b2452..703cca4 100755 --- a/install.sh +++ b/install.sh @@ -30,7 +30,7 @@ CHANNEL="" check_os() { case "$(uname -s)" in - Linux|Darwin|FreeBSD|OpenBSD|NetBSD|DragonFly) ;; + Linux|Darwin|FreeBSD|OpenBSD|NetBSD) ;; *) error "Only Linux, macOS, and BSD systems are supported"; exit 1 ;; esac } @@ -48,7 +48,7 @@ detect_target() { FreeBSD:x86_64|FreeBSD:amd64) TARGET_TRIPLE="x86_64-unknown-freebsd" ;; OpenBSD:x86_64|OpenBSD:amd64) TARGET_TRIPLE="x86_64-unknown-openbsd" ;; NetBSD:x86_64|NetBSD:amd64) TARGET_TRIPLE="x86_64-unknown-netbsd" ;; - DragonFly:x86_64|DragonFly:amd64) TARGET_TRIPLE="x86_64-unknown-dragonfly" ;; + *) error "Unsupported platform: $os/$arch"; exit 1 ;; esac }