Skip to content

remove: risv64 architecture #16

remove: risv64 architecture

remove: risv64 architecture #16

Workflow file for this run

name: Auto Update whatsmeow
on:
workflow_dispatch:
push:
branches:
- musl
env:
UV_PUBLISH_TOKEN: ${{ secrets.PYPI_TOKEN }}
VERSION_MAJOR: ${{ github.event.inputs.version_major }}
VERSION_MINOR: ${{ github.event.inputs.version_minor }}
VERSION_PATCH: ${{ github.event.inputs.version_patch }}
VERSION_POST: ${{ github.event.inputs.version_post }}
jobs:
musl:
runs-on: ubuntu-latest
strategy:
matrix:
include:
- arch: x86
goarch: 386
- arch: aarch64
goarch: arm64
- arch: x86_64
goarch: amd64
- arch: armv7
goarch: arm
- arch: ppc64le
goarch: ppc64le
- arch: s390x
goarch: s390x
steps:
- uses: actions/checkout@v2
- name: Setup latest Alpine Linux
uses: jirutka/setup-alpine@v1
with:
alpine-version: 'latest'
arch: ${{ matrix.arch }}
chroot: true
packages: |
linux-headers
python3-dev
go
python3
uv
musl
musl-dev
musl-utils
git
gcc
py3-pillow
build-base
zlib-dev
jpeg-dev
freetype-dev
lcms2-dev
- name: Run script inside Alpine chroot as the default user (unprivileged)
run: |
export CGO_ENABLED=1
export GOARCH=${{ matrix.goarch }}
go install google.golang.org/protobuf/cmd/protoc-gen-go@latest
go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@latest
ls -la # as you would expect, you're in your workspace directory
uv sync
uv sync --dev
uv run task version --set-url "${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}" info
uv run task build goneonize
uv build
uv run task repack
export UV_PUBLISH_TOKEN=${UV_PUBLISH_TOKEN}
# uv publish
shell: alpine.sh {0}
- name: Run script on the host system (Ubuntu)
run: |
cat /etc/os-release
shell: bash
- name: test
run: |
ls -la
ls goneonize
ls neonize