mirror of
https://github.com/house-of-vanity/rexec.git
synced 2025-08-21 15:17:15 +00:00
Fix
This commit is contained in:
65
.github/workflows/arch_pkg.yaml
vendored
65
.github/workflows/arch_pkg.yaml
vendored
@@ -5,34 +5,39 @@ env:
|
|||||||
BUILD_TARGET: x86_64-unknown-linux-musl
|
BUILD_TARGET: x86_64-unknown-linux-musl
|
||||||
BINARY_NAME: rexec
|
BINARY_NAME: rexec
|
||||||
jobs:
|
jobs:
|
||||||
build_arch:
|
build_arch:
|
||||||
name: Arch Linux package
|
name: Arch Linux package
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container:
|
container:
|
||||||
image: archlinux:base-devel
|
image: archlinux:base-devel
|
||||||
# options: --user 1001
|
# options: --user 1001
|
||||||
permissions:
|
permissions:
|
||||||
contents: write
|
contents: write
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- name: Install latest nightly
|
- name: Install latest nightly
|
||||||
uses: actions-rs/toolchain@v1
|
uses: actions-rs/toolchain@v1
|
||||||
with:
|
with:
|
||||||
toolchain: stable
|
toolchain: stable
|
||||||
override: true
|
override: true
|
||||||
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 sudo
|
||||||
- name: Archlinux MAKEPKG action
|
- name: Makepkg Build and Check
|
||||||
uses: mijailr/arch-makepkg-action@1.0.1
|
id: makepkg
|
||||||
# - name: Build ZST package
|
uses: edlanglois/pkgbuild-action@v1.1.8
|
||||||
# run: |
|
- name: Print Package Files
|
||||||
# useradd -G wheel -d /rexec/ -s /bin/bash build
|
run: |
|
||||||
# makepkg -f
|
echo "Successfully created the following package archive"
|
||||||
- uses: actions/upload-artifact@v2
|
echo "Package: ${{ steps.makepkg.outputs.pkgfile0 }}"
|
||||||
name: Upload ZST package
|
# - name: Build ZST package
|
||||||
with:
|
# run: |
|
||||||
name: ${{ env.BINARY_NAME }}.zst
|
# useradd -G wheel -d /rexec/ -s /bin/bash build
|
||||||
path: rexec.*zst
|
# makepkg -f
|
||||||
|
- uses: actions/upload-artifact@v2
|
||||||
|
name: Upload ZST package
|
||||||
|
with:
|
||||||
|
name: ${{ env.BINARY_NAME }}.zst
|
||||||
|
path: rexec.*zst
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user