-
-
Notifications
You must be signed in to change notification settings - Fork 182
36 lines (33 loc) · 991 Bytes
/
linux-aarch64.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
name: Linux AArch64 Build
on:
push:
branches: [ "gh-pipeline" ]
pull_request:
branches: [ "gh-pipeline" ]
jobs:
aarch64-linux-build-and-upload:
runs-on: ubuntu-latest
steps:
- name: Build aarch64
uses: uraimo/run-on-arch-action@v2
with:
arch: aarch64
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
make CI CI_Build_Name=chsrc-aarch64-linux
cp ./chsrc-aarch64-linux /artifacts
- name: Release
uses: softprops/action-gh-release@v1
with:
tag_name: pre
files: |
./artifacts/chsrc-aarch64-linux
token: ${{ secrets.CHSRC_UPLOAD }}