9
9
- main
10
10
11
11
env :
12
- MESON_VERSION : 1.0.0
12
+ GUM_OPTIONS : ' -Dfrida-gum:gumjs=enabled '
13
13
14
14
jobs :
15
15
windows :
21
21
steps :
22
22
- name : Check out repo
23
23
uses : actions/checkout@v3
24
- - name : Install dependencies
25
- run : pip install meson==${{ env.MESON_VERSION }} ninja
26
24
- name : Environment
27
25
uses : ilammy/msvc-dev-cmd@v1
28
26
with :
32
30
npm install
33
31
cd test
34
32
npm install
35
- meson setup `
36
- --default-library static `
37
- --force-fallback-for=zlib `
38
- build
39
- meson compile -C build
33
+ .\configure -- ${{ env.GUM_OPTIONS }}
34
+ .\make
40
35
- name : Test
41
36
run : .\test\build\frida-fs-tests.exe
42
37
@@ -45,18 +40,13 @@ jobs:
45
40
steps :
46
41
- name : Check out repo
47
42
uses : actions/checkout@v3
48
- - name : Install dependencies
49
- run : pip3 install meson==${{ env.MESON_VERSION }} ninja
50
43
- name : Build
51
44
run : |
52
45
npm install
53
46
cd test
54
47
npm install
55
- meson setup \
56
- --default-library static \
57
- --force-fallback-for=glib \
58
- build
59
- meson compile -C build
48
+ ./configure -- ${{ env.GUM_OPTIONS }}
49
+ make
60
50
- name : Test
61
51
run : ./test/build/frida-fs-tests
62
52
@@ -68,21 +58,15 @@ jobs:
68
58
- name : Install dependencies
69
59
run : |
70
60
sudo apt-get update
71
- sudo apt-get install gcc-multilib lib32stdc++-11-dev
72
- pip install meson==${{ env.MESON_VERSION }}
73
- .github/env/bootstrap.sh linux-x86_64 linux-x86
61
+ sudo apt-get install gcc-multilib lib32stdc++-13-dev
74
62
- name : Build
75
63
run : |
76
64
npm install
77
65
cd test
78
66
npm install
79
- export PATH="/tmp/toolchain/bin:$PATH"
80
- meson setup \
81
- --native-file /tmp/native.txt \
82
- --cross-file /tmp/cross.txt \
83
- --default-library static \
84
- build
85
- meson compile -C build
67
+ CC="gcc -m32" CXX="g++ -m32" STRIP="strip" \
68
+ ./configure --build=linux-x86 --host=linux-x86 -- ${{ env.GUM_OPTIONS }}
69
+ make
86
70
- name : Test
87
71
run : ./test/build/frida-fs-tests
88
72
@@ -91,18 +75,13 @@ jobs:
91
75
steps :
92
76
- name : Check out repo
93
77
uses : actions/checkout@v3
94
- - name : Install dependencies
95
- run : pip install meson==${{ env.MESON_VERSION }} ninja
96
78
- name : Build
97
79
run : |
98
80
npm install
99
81
cd test
100
82
npm install
101
- meson setup \
102
- --default-library static \
103
- --force-fallback-for=glib \
104
- build
105
- meson compile -C build
83
+ ./configure -- ${{ env.GUM_OPTIONS }}
84
+ make
106
85
- name : Test
107
86
run : ./test/build/frida-fs-tests
108
87
@@ -115,20 +94,13 @@ jobs:
115
94
run : |
116
95
sudo apt-get update
117
96
sudo apt-get install g++-arm-linux-gnueabihf qemu-user
118
- pip install meson==${{ env.MESON_VERSION }}
119
- .github/env/bootstrap.sh linux-x86_64 linux-armhf
120
97
- name : Build
121
98
run : |
122
99
npm install
123
100
cd test
124
101
npm install
125
- export PATH="/tmp/toolchain/bin:$PATH"
126
- meson setup \
127
- --native-file /tmp/native.txt \
128
- --cross-file /tmp/cross.txt \
129
- --default-library static \
130
- build
131
- meson compile -C build
102
+ ./configure --host=arm-linux-gnueabihf -- ${{ env.GUM_OPTIONS }}
103
+ make
132
104
- name : Test
133
105
run : qemu-arm -L /usr/arm-linux-gnueabihf ./test/build/frida-fs-tests
134
106
@@ -141,19 +113,12 @@ jobs:
141
113
run : |
142
114
sudo apt-get update
143
115
sudo apt-get install g++-aarch64-linux-gnu qemu-user
144
- pip install meson==${{ env.MESON_VERSION }}
145
- .github/env/bootstrap.sh linux-x86_64 linux-arm64
146
116
- name : Build
147
117
run : |
148
118
npm install
149
119
cd test
150
120
npm install
151
- export PATH="/tmp/toolchain/bin:$PATH"
152
- meson setup \
153
- --native-file /tmp/native.txt \
154
- --cross-file /tmp/cross.txt \
155
- --default-library static \
156
- build
157
- meson compile -C build
121
+ ./configure --host=aarch64-linux-gnu -- ${{ env.GUM_OPTIONS }}
122
+ make
158
123
- name : Test
159
124
run : qemu-aarch64 -L /usr/aarch64-linux-gnu ./test/build/frida-fs-tests
0 commit comments