mirror of
https://github.com/house-of-vanity/mus-fuse.git
synced 2025-07-06 21:24:09 +00:00
Fix CI
This commit is contained in:
9
.github/workflows/PKGBUILD
vendored
9
.github/workflows/PKGBUILD
vendored
@ -5,10 +5,10 @@ pkgver=0.7.2
|
|||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc="Written safely in Rust, FUSE FS with your own private music library hosted on your server securely."
|
pkgdesc="Written safely in Rust, FUSE FS with your own private music library hosted on your server securely."
|
||||||
url="https://github.com/house-of-vanity/mus-fuse.git"
|
url="https://github.com/house-of-vanity/mus-fuse.git"
|
||||||
arch=(x86_64)
|
arch=($CARCH)
|
||||||
license=(WTFPL)
|
license=(WTFPL custom)
|
||||||
depends=(openssl fuse)
|
depends=(openssl fuse)
|
||||||
makedepends=(cargo git fuse openssl)
|
makedepends=(cargo git)
|
||||||
source=("git+https://github.com/house-of-vanity/$pkgname")
|
source=("git+https://github.com/house-of-vanity/$pkgname")
|
||||||
sha512sums=('SKIP')
|
sha512sums=('SKIP')
|
||||||
backup=('etc/mus-fuse.yml')
|
backup=('etc/mus-fuse.yml')
|
||||||
@ -20,7 +20,7 @@ pkgver() {
|
|||||||
|
|
||||||
prepare() {
|
prepare() {
|
||||||
cd "$srcdir/$pkgname"
|
cd "$srcdir/$pkgname"
|
||||||
cargo fetch --target x86_64-unknown-linux-gnu
|
cargo fetch --target $CARCH-unknown-linux-gnu
|
||||||
}
|
}
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
@ -34,6 +34,7 @@ package() {
|
|||||||
install -Dt "$pkgdir/usr/bin" target/release/$pkgname
|
install -Dt "$pkgdir/usr/bin" target/release/$pkgname
|
||||||
install -Dt "$pkgdir/usr/share/doc/$pkgname" -m644 README.md
|
install -Dt "$pkgdir/usr/share/doc/$pkgname" -m644 README.md
|
||||||
install -Dt "$pkgdir/usr/lib/systemd/system" assets/$pkgname.service
|
install -Dt "$pkgdir/usr/lib/systemd/system" assets/$pkgname.service
|
||||||
|
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
|
||||||
mkdir -p "$pkgdir/etc"
|
mkdir -p "$pkgdir/etc"
|
||||||
cp -n assets/mus-fuse.yml "$pkgdir/etc/mus-fuse.yml"
|
cp -n assets/mus-fuse.yml "$pkgdir/etc/mus-fuse.yml"
|
||||||
}
|
}
|
||||||
|
9
.github/workflows/build.yml
vendored
9
.github/workflows/build.yml
vendored
@ -21,15 +21,12 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
PKGBUILD: $GITHUB_WORKSPACE/.github/workflows/PKGBUILD
|
PKGBUILD: $GITHUB_WORKSPACE/.github/workflows/PKGBUILD
|
||||||
OUTDIR: ./
|
OUTDIR: ./
|
||||||
- run: pwd
|
- run: mv ./*pkg.tar.zst mus-fuse-x86_64.pkg.tar.zst
|
||||||
- run: ls -l
|
|
||||||
- run: echo mus-fuse-${{ github.ref }}-x86_64.pkg.tar.xz
|
|
||||||
- run: mv ./*tar.xz mus-fuse-x86_64.pkg.tar.xz
|
|
||||||
- name: Upload Arch Package
|
- name: Upload Arch Package
|
||||||
uses: actions/upload-artifact@v1
|
uses: actions/upload-artifact@v1
|
||||||
with:
|
with:
|
||||||
name: mus-fuse-x86_64.pkg.tar.xz
|
name: arch_linux_mus-fuse-x86_64.pkg.tar.zst
|
||||||
path: ./mus-fuse-x86_64.tar.xz
|
path: ./mus-fuse-x86_64.pkg.tar.zst
|
||||||
|
|
||||||
make_bin:
|
make_bin:
|
||||||
name: Build binary
|
name: Build binary
|
||||||
|
Reference in New Issue
Block a user