2023-09-21 21:28:33 +08:00
|
|
|
name: Linux ARMv7 Build
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches: [ "gh-pipeline" ]
|
|
|
|
pull_request:
|
|
|
|
branches: [ "gh-pipeline" ]
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
armv7-linu-build-and-upload:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- name: Build ARMv7
|
|
|
|
uses: uraimo/run-on-arch-action@v2
|
|
|
|
with:
|
|
|
|
arch: armv7
|
|
|
|
distro: ubuntu_latest
|
|
|
|
|
|
|
|
dockerRunArgs: |
|
|
|
|
--volume "${PWD}/artifacts:/artifacts"
|
|
|
|
run: |
|
|
|
|
apt-get update -qq
|
|
|
|
apt-get install build-essential -y -q
|
|
|
|
apt-get install git -y -q
|
|
|
|
pwd ; ls -al
|
|
|
|
git clone https://github.com/RubyMetric/chsrc -b gh-pipeline -q
|
|
|
|
cd chsrc
|
2024-05-25 01:11:16 +08:00
|
|
|
make CI CI_Build_Name=chsrc-armv7-linux
|
2023-09-21 21:28:33 +08:00
|
|
|
cp ./chsrc-armv7-linux /artifacts
|
|
|
|
|
|
|
|
- name: Release
|
|
|
|
uses: softprops/action-gh-release@v1
|
|
|
|
with:
|
2024-06-11 22:45:34 +08:00
|
|
|
tag_name: pre
|
2023-09-21 21:28:33 +08:00
|
|
|
files: |
|
|
|
|
./artifacts/chsrc-armv7-linux
|
|
|
|
token: ${{ secrets.CHSRC_UPLOAD }}
|
|
|
|
|