Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
wu-mx authored Oct 29, 2023
1 parent 2eeb030 commit ae1f39c
Showing 1 changed file with 0 additions and 27 deletions.
27 changes: 0 additions & 27 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,32 +60,6 @@ jobs:
draft: true
tag_name: Alpha

armv7_build:
name: Linux armv7 Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Add commit id into version
if: ${{ !startsWith(github.ref, 'refs/tags/') }}
run: SHA=$(git rev-parse --short HEAD) && sed -i 's/\(v[0-9]\.[0-9]\.[0-9]\)/\1-'"$SHA"'/' src/version.h
- name: Build
run: docker run -v $GITHUB_WORKSPACE:/root/workdir multiarch/alpine:armv7-latest-stable /bin/sh -c "apk add bash git nodejs npm && cd /root/workdir && chmod +x scripts/build.alpine.release.sh && bash scripts/build.alpine.release.sh" && mv libsubconverter.so libsubconverter_armv7.so
- name: Upload
uses: actions/upload-artifact@v3
with:
path: |
libsubconverter_armv7.so
- name: Draft Release
uses: softprops/action-gh-release@v1
if: ${{ github.event_name != 'pull_request' && startsWith(github.ref, 'refs/tags/') }}
with:
files: libsubconverter_armv7.so
draft: true
tag_name: Alpha

windows64_build:
name: Windows x86_64 Build
runs-on: windows-latest
Expand Down Expand Up @@ -167,7 +141,6 @@ jobs:
[
linux64_build,
linux32_build,
armv7_build,
windows64_build,
windows32_build,
]
Expand Down

0 comments on commit ae1f39c

Please sign in to comment.