-
Notifications
You must be signed in to change notification settings - Fork 0
47 lines (43 loc) · 1.56 KB
/
release-check.yaml
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
37
38
39
40
41
42
43
44
45
46
47
name: Musd Release Pkg Check
on:
push:
branches:
- release-check
paths-ignore:
- '**.md'
defaults:
run:
shell: bash
jobs:
musd_release_check:
runs-on: ubuntu-latest
name: Running MUSD on ${{ matrix.distro }} ${{ matrix.arch }}
# Run steps on a matrix of 3 arch/distro combinations
strategy:
matrix:
include:
- arch: armv7
distro: ubuntu_latest
uri: https://github.com/hustcer/musd/releases/download/v0.2.5/musd-0.2.5-armv7-unknown-linux-gnueabihf.tar.gz
- arch: aarch64
distro: ubuntu_latest
uri: https://github.com/hustcer/musd/releases/download/v0.2.5/musd-0.2.5-aarch64-unknown-linux-gnu.tar.gz
steps:
- uses: uraimo/run-on-arch-action@v2
name: MUSD Release Check
id: run_musd
with:
arch: ${{ matrix.arch }}
distro: ${{ matrix.distro }}
githubToken: ${{ github.token }}
run: |
apt-get update; apt-get install aria2 -y; echo;
echo '--------------------------------------------------------------------'
uname -a;
echo '--------------------------------------------------------------------'
cd /usr/lib; aria2c ${{ matrix.uri }}; mkdir musd-pkg
tar xvf musd*.tar.gz --directory=musd-pkg
echo '--------------------------------------------------------------------'
cd musd-pkg; ls -l
echo '--------------------------------------------------------------------'
./musd -b