This commit is contained in:
2023-08-31 19:55:59 +03:00
parent fcf91e3f89
commit a77a7cd089
2 changed files with 9 additions and 6 deletions

View File

@@ -23,18 +23,21 @@ jobs:
target: x86_64-unknown-linux-musl target: x86_64-unknown-linux-musl
components: rustfmt components: rustfmt
- name: Install build deps - name: Install build deps
run: pacman -Syu --noconfirm rustup musl git base-devel sudo run: |
pacman -Syu --noconfirm rustup musl git base-devel
rustup target add ${{ env.BUILD_TARGET }}
- name: Makepkg Build and Check - name: Makepkg Build and Check
id: makepkg id: makepkg
uses: edlanglois/pkgbuild-action@v1.1.8 uses: edlanglois/pkgbuild-action@v1.1.8
- name: Print Package Files
run: |
echo "Successfully created the following package archive"
echo "Package: ${{ steps.makepkg.outputs.pkgfile0 }}"
# - name: Build ZST package # - name: Build ZST package
# run: | # run: |
# useradd -G wheel -d /rexec/ -s /bin/bash build # useradd -G wheel -d /rexec/ -s /bin/bash build
# makepkg -f # makepkg -f
- name: LIST
run: |
pwd
ls -lah
- uses: actions/upload-artifact@v2 - uses: actions/upload-artifact@v2
name: Upload ZST package name: Upload ZST package
with: with:

View File

@@ -6,7 +6,7 @@ pkgdesc="Parallel SSH executor"
url="https://github.com/house-of-vanity/rexec" url="https://github.com/house-of-vanity/rexec"
license=("WTFPL") license=("WTFPL")
arch=("x86_64") arch=("x86_64")
makedepends=("cargo") makedepends=("rustup")
pkgver() { pkgver() {
echo "$pkgver" | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g' echo "$pkgver" | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'