mirror of
https://github.com/house-of-vanity/mus-fuse.git
synced 2025-08-21 16:17:15 +00:00
Fix CI
This commit is contained in:
45
.github/workflows/build.yml
vendored
45
.github/workflows/build.yml
vendored
@@ -6,28 +6,6 @@ on:
|
|||||||
- 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10
|
- 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
make_arch:
|
|
||||||
name: Build Arch Linux package
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
container:
|
|
||||||
image: archlinux
|
|
||||||
options: --privileged
|
|
||||||
volumes:
|
|
||||||
- /sys/fs/cgroup:/sys/fs/cgroup
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v2
|
|
||||||
- name: Build Arch Linux package
|
|
||||||
uses: house-of-vanity/build-arch-package@master
|
|
||||||
with:
|
|
||||||
PKGBUILD: $GITHUB_WORKSPACE/.github/workflows/PKGBUILD
|
|
||||||
OUTDIR: ./
|
|
||||||
- run: mv ./*pkg.tar.zst mus-fuse-x86_64.pkg.tar.zst
|
|
||||||
- name: Upload Arch Package
|
|
||||||
uses: actions/upload-artifact@v1
|
|
||||||
with:
|
|
||||||
name: arch_linux_mus-fuse-x86_64.pkg.tar.zst
|
|
||||||
path: ./mus-fuse-x86_64.pkg.tar.zst
|
|
||||||
|
|
||||||
make_bin:
|
make_bin:
|
||||||
name: Build binary
|
name: Build binary
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
@@ -44,7 +22,28 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
name: mus-fuse
|
name: mus-fuse
|
||||||
path: ./target/release/mus-fuse
|
path: ./target/release/mus-fuse
|
||||||
|
make_arch:
|
||||||
|
name: Make Arch Linux package
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
container:
|
||||||
|
image: archlinux
|
||||||
|
options: --privileged
|
||||||
|
volumes:
|
||||||
|
- /sys/fs/cgroup:/sys/fs/cgroup
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- name: Build Arch Linux package
|
||||||
|
uses: house-of-vanity/build-arch-package@master
|
||||||
|
with:
|
||||||
|
PKGBUILD: $GITHUB_WORKSPACE/.github/workflows/PKGBUILD
|
||||||
|
OUTDIR: $HOME/arch-packages
|
||||||
|
- run: ls -l $HOME/arch-packages
|
||||||
|
- run: mv $HOME/arch-packages/*pkg.tar.zst mus-fuse-x86_64.pkg.tar.zst
|
||||||
|
- name: Upload Arch Package
|
||||||
|
uses: actions/upload-artifact@v1
|
||||||
|
with:
|
||||||
|
name: arch_linux_mus-fuse-x86_64.pkg.tar.zst
|
||||||
|
path: ./mus-fuse-x86_64.pkg.tar.zst
|
||||||
make_deb:
|
make_deb:
|
||||||
name: Make Deb package
|
name: Make Deb package
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
Reference in New Issue
Block a user