-
-
Notifications
You must be signed in to change notification settings - Fork 363
77 lines (69 loc) · 1.75 KB
/
muon.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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
name: Muon build
on:
push:
paths:
- '**.c'
- '**.h'
- '**.in'
- '**.inc'
- '**/meson.build'
- 'subprojects/**'
- 'test/**'
- '.github/workflows/muon.yml'
branches:
- 'dev'
- 'stable'
- 'container-*'
pull_request:
paths:
- '**.c'
- '**.h'
- '**.in'
- '**.inc'
- '**/meson.build'
- 'subprojects/**'
- 'test/**'
- '.github/workflows/muon.yml'
branches:
- 'dev'
- 'stable'
- 'release-*'
# Automatically cancel any previous workflow on new push.
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.event_name }}
cancel-in-progress: true
jobs:
build:
name: ubuntu-muon
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Install dependencies
run: |
sudo apt-get --assume-yes update
sudo apt-get --assume-yes install python3-wheel python3-setuptools pkgconf libcurl4-openssl-dev libpkgconf-dev libarchive-dev
sudo python3 -m pip install ninja
- name: Checkout Muon repository
run: |
git clone https://git.sr.ht/~lattis/muon
- name: Compiling and installing Muon
working-directory: muon
run: |
./bootstrap.sh build
build/muon-bootstrap setup build
ninja -C build
sudo cp build/muon /usr/bin/muon
- name: Muon setup
run: muon setup build
- name: Ninja compile and install
run: ninja -C build && sudo muon -C build install
- name: Checkout our Testsuite Binaries
uses: actions/checkout@v4
with:
repository: rizinorg/rizin-testbins
path: test/bins
- name: Run unit tests
run: muon -C build test
- name: Rizin version
run: |
rizin -v