32
32
git checkout -b "$branch" || true
33
33
- name : Run build
34
34
run : earthly --ci +all --distro=${{ matrix.distro }}
35
- linux :
35
+ linux-x64 :
36
36
runs-on : ubuntu-22.04
37
37
steps :
38
38
- uses : actions/checkout@v4
@@ -41,15 +41,15 @@ jobs:
41
41
ruby-version : ' 3.0'
42
42
bundler-cache : true
43
43
- name : Install Ceedling
44
- run : sudo gem install ceedling -v 0.31.1 - -no-user-install
44
+ run : sudo gem install ceedling --no-user-install
45
45
- name : Build dependencies
46
- run : ceedling project:linux verbosity[4] clobber dependencies:make
46
+ run : ceedling --mixin=linux_x64 clobber dependencies:make --verbosity=debug
47
47
- name : Run wolfSSL Tests
48
48
run : |
49
- cd third_party/wolfssl
49
+ cd third_party/wolfssl/source
50
50
./wolfcrypt/test/testwolfcrypt
51
51
- name : Run build and test
52
- run : ceedling project:linux verbosity[4] test:all
52
+ run : ceedling --mixin=linux_x64 test:all --verbosity=debug
53
53
linux-multithread :
54
54
runs-on : ubuntu-22.04
55
55
steps :
@@ -59,15 +59,15 @@ jobs:
59
59
ruby-version : ' 3.0'
60
60
bundler-cache : true
61
61
- name : Install Ceedling
62
- run : sudo gem install ceedling -v 0.31.1 - -no-user-install
62
+ run : sudo gem install ceedling --no-user-install
63
63
- name : Build dependencies
64
- run : ceedling project: linux_multithread verbosity[4] clobber dependencies:make
64
+ run : ceedling --mixin= linux_multithread clobber dependencies:make --verbosity=debug
65
65
- name : Run wolfSSL Tests
66
66
run : |
67
- cd third_party/wolfssl
67
+ cd third_party/wolfssl/source
68
68
./wolfcrypt/test/testwolfcrypt
69
69
- name : Run build and test
70
- run : ceedling project: linux_multithread verbosity[4] test:all
70
+ run : ceedling --mixin= linux_multithread test:all --verbosity=debug
71
71
linux-386 :
72
72
runs-on : ubuntu-22.04
73
73
steps :
@@ -77,19 +77,19 @@ jobs:
77
77
ruby-version : ' 3.0'
78
78
bundler-cache : true
79
79
- name : Install Ceedling
80
- run : sudo gem install ceedling -v 0.31.1 - -no-user-install
80
+ run : sudo gem install ceedling --no-user-install
81
81
- name : Install gcc multi lib
82
82
run : |
83
83
sudo apt update
84
84
sudo apt install -y gcc-multilib
85
85
- name : Build dependencies
86
- run : ceedling project: linux_386 verbosity[4] clobber dependencies:make
86
+ run : ceedling --mixin= linux_386 clobber dependencies:make --verbosity=debug
87
87
- name : Run wolfSSL Tests
88
88
run : |
89
- cd third_party/wolfssl
89
+ cd third_party/wolfssl/source
90
90
./wolfcrypt/test/testwolfcrypt
91
91
- name : Run build and test
92
- run : ceedling project: linux_386 verbosity[4] test:all
92
+ run : ceedling --mixin= linux_386 test:all --verbosity=debug
93
93
linux-arm64 :
94
94
runs-on : ubuntu-22.04
95
95
steps :
@@ -99,19 +99,19 @@ jobs:
99
99
ruby-version : ' 3.0'
100
100
bundler-cache : true
101
101
- name : Install Ceedling
102
- run : sudo gem install ceedling -v 0.31.1 - -no-user-install
102
+ run : sudo gem install ceedling --no-user-install
103
103
- name : Install ARM Tools
104
104
run : |
105
105
sudo apt update
106
106
sudo apt install -y crossbuild-essential-arm64 qemu-user
107
107
- name : Build dependencies
108
- run : CROSS_COMPILE="aarch64-linux-gnu" CC="aarch64-linux-gnu-gcc" ceedling project: linux_arm64 verbosity[4] clobber dependencies:make
108
+ run : CROSS_COMPILE="aarch64-linux-gnu" CC="aarch64-linux-gnu-gcc" ceedling --mixin= linux_arm64 clobber dependencies:make --verbosity=debug
109
109
- name : Run wolfSSL Tests
110
110
run : |
111
- cd third_party/wolfssl
111
+ cd third_party/wolfssl/source
112
112
QEMU_LD_PREFIX=/usr/aarch64-linux-gnu ./wolfcrypt/test/testwolfcrypt
113
113
- name : Run build
114
- run : CC="aarch64-linux-gnu-gcc" ceedling project: linux_arm64 verbosity[4] release
114
+ run : CC="aarch64-linux-gnu-gcc" ceedling --mixin= linux_arm64 release --verbosity=debug
115
115
linux-arm :
116
116
runs-on : ubuntu-22.04
117
117
steps :
@@ -121,19 +121,19 @@ jobs:
121
121
ruby-version : ' 3.0'
122
122
bundler-cache : true
123
123
- name : Install Ceedling
124
- run : sudo gem install ceedling -v 0.31.1 - -no-user-install
124
+ run : sudo gem install ceedling --no-user-install
125
125
- name : Install ARM Tools
126
126
run : |
127
127
sudo apt update
128
128
sudo apt install -y crossbuild-essential-armhf qemu-user
129
129
- name : Build dependencies
130
- run : CROSS_COMPILE="arm-linux-gnueabihf" CC="arm-linux-gnueabihf-gcc" ceedling project: linux_arm verbosity[4] clobber dependencies:make
130
+ run : CROSS_COMPILE="arm-linux-gnueabihf" CC="arm-linux-gnueabihf-gcc" ceedling --mixin= linux_arm clobber dependencies:make --verbosity=debug
131
131
- name : Run wolfSSL Tests
132
132
run : |
133
- cd third_party/wolfssl
133
+ cd third_party/wolfssl/source
134
134
QEMU_LD_PREFIX=/usr/arm-linux-gnueabihf ./wolfcrypt/test/testwolfcrypt
135
135
- name : Run build
136
- run : CC="arm-linux-gnueabihf-gcc" ceedling project: linux_arm verbosity[4] release
136
+ run : CC="arm-linux-gnueabihf-gcc" ceedling --mixin= linux_arm release --verbosity=debug
137
137
linux-arm-no-pqc :
138
138
runs-on : ubuntu-22.04
139
139
steps :
@@ -143,19 +143,19 @@ jobs:
143
143
ruby-version : ' 3.0'
144
144
bundler-cache : true
145
145
- name : Install Ceedling
146
- run : sudo gem install ceedling -v 0.31.1 - -no-user-install
146
+ run : sudo gem install ceedling --no-user-install
147
147
- name : Install ARM Tools
148
148
run : |
149
149
sudo apt update
150
150
sudo apt install -y crossbuild-essential-armhf qemu-user
151
151
- name : Build dependencies
152
- run : CROSS_COMPILE="arm-linux-gnueabihf" CC="arm-linux-gnueabihf-gcc" ceedling project: linux_arm_no_pqc verbosity[4] clobber dependencies:make
152
+ run : CROSS_COMPILE="arm-linux-gnueabihf" CC="arm-linux-gnueabihf-gcc" ceedling --mixin= linux_arm_no_pqc clobber dependencies:make --verbosity=debug
153
153
- name : Run wolfSSL Tests
154
154
run : |
155
- cd third_party/wolfssl
155
+ cd third_party/wolfssl/source
156
156
QEMU_LD_PREFIX=/usr/arm-linux-gnueabihf ./wolfcrypt/test/testwolfcrypt
157
157
- name : Run build
158
- run : CC="arm-linux-gnueabihf-gcc" ceedling project: linux_arm_no_pqc verbosity[4] release
158
+ run : CC="arm-linux-gnueabihf-gcc" ceedling --mixin= linux_arm_no_pqc release --verbosity=debug
159
159
linux-riscv64 :
160
160
runs-on : ubuntu-22.04
161
161
steps :
@@ -165,20 +165,20 @@ jobs:
165
165
ruby-version : ' 3.0'
166
166
bundler-cache : true
167
167
- name : Install Ceedling
168
- run : sudo gem install ceedling -v 0.31.1 - -no-user-install
168
+ run : sudo gem install ceedling --no-user-install
169
169
- name : Install RISC-V Toolchain
170
170
run : |
171
171
sudo apt update
172
172
sudo apt install -y crossbuild-essential-riscv64 qemu-user
173
173
- name : Build dependencies
174
- run : CROSS_COMPILE="riscv64-linux-gnu" CC="riscv64-linux-gnu-gcc" ceedling project: linux_riscv64 verbosity[4] clobber dependencies:make
174
+ run : CROSS_COMPILE="riscv64-linux-gnu" CC="riscv64-linux-gnu-gcc" ceedling --mixin= linux_riscv64 clobber dependencies:make --verbosity=debug
175
175
- name : Run wolfSSL Tests
176
176
run : |
177
- cd third_party/wolfssl
177
+ cd third_party/wolfssl/source
178
178
QEMU_LD_PREFIX=/usr/riscv64-linux-gnu ./wolfcrypt/test/testwolfcrypt
179
179
- name : Run build
180
- run : CC="riscv64-linux-gnu-gcc" ceedling project: linux_riscv64 verbosity[4] release
181
- macos :
180
+ run : CC="riscv64-linux-gnu-gcc" ceedling --mixin= linux_riscv64 release --verbosity=debug
181
+ macos-x64 :
182
182
runs-on : macos-13
183
183
steps :
184
184
- uses : actions/checkout@v4
@@ -187,14 +187,14 @@ jobs:
187
187
ruby-version : ' 3.0'
188
188
bundler-cache : true
189
189
- name : Install Ceedling
190
- run : sudo gem install ceedling -v 0.31.1 - -no-user-install
190
+ run : sudo gem install ceedling --no-user-install
191
191
- name : Install automake
192
192
run : HOMEBREW_NO_AUTO_UPDATE=1 brew install autoconf automake libtool
193
193
- name : Build dependencies
194
- run : ceedling project:macos verbosity[4] clobber dependencies:make
194
+ run : ceedling --mixin=macos_x64 clobber dependencies:make --verbosity=debug
195
195
- name : Run build and test
196
- run : ceedling project:macos verbosity[4] test:all
197
- macos_arm64 :
196
+ run : ceedling --mixin=macos_x64 clobber test:all --verbosity=debug
197
+ macos-arm64 :
198
198
runs-on : macos-latest
199
199
steps :
200
200
- uses : actions/checkout@v4
@@ -203,13 +203,13 @@ jobs:
203
203
ruby-version : ' 3.0'
204
204
bundler-cache : true
205
205
- name : Install Ceedling
206
- run : sudo gem install ceedling -v 0.31.1 - -no-user-install
206
+ run : sudo gem install ceedling --no-user-install
207
207
- name : Install automake
208
208
run : HOMEBREW_NO_AUTO_UPDATE=1 brew install autoconf automake libtool
209
209
- name : Build dependencies
210
- run : ceedling project: macos_arm64 verbosity[4] clobber dependencies:make
210
+ run : ceedling --mixin= macos_arm64 clobber dependencies:make --verbosity=debug
211
211
- name : Run build and test
212
- run : ceedling project: macos_arm64 verbosity[4] test:all
212
+ run : ceedling --mixin= macos_arm64 clobber test:all --verbosity=debug
213
213
windows :
214
214
runs-on : windows-2022
215
215
strategy :
@@ -229,7 +229,7 @@ jobs:
229
229
ruby-version : ' 3.0'
230
230
bundler-cache : true
231
231
- name : Install Ceedling
232
- run : gem install ceedling -v 0.31.1 - -no-user-install
232
+ run : gem install ceedling --no-user-install
233
233
- name : Check Ceedling version
234
234
run : ceedling version
235
235
- name : Set up Visual Studio shell
@@ -239,13 +239,13 @@ jobs:
239
239
- if : ${{ matrix.config.project != 'windows_arm64' }}
240
240
# Skip making dependencies for ARM64 as we can only apply git patch once for WolfSSL
241
241
name : Build dependencies
242
- run : ceedling project: ${{ matrix.config.project }} verbosity[4] clobber dependencies:make
242
+ run : ceedling -- project=ceedling/ ${{ matrix.config.project }}.yml clobber dependencies:make --verbosity=debug
243
243
- if : ${{ matrix.config.project != 'windows_arm64' }}
244
244
name : Run build and test
245
- run : ceedling project: ${{ matrix.config.project }} verbosity[4] test:all
245
+ run : ceedling -- project=ceedling/ ${{ matrix.config.project }}.yml test:all --verbosity=debug
246
246
- if : ${{ matrix.config.project == 'windows_arm64' }}
247
247
name : Run build
248
- run : ceedling project: ${{ matrix.config.project }} verbosity[4] release
248
+ run : ceedling -- project=ceedling/ ${{ matrix.config.project }}.yml release
249
249
ios :
250
250
runs-on : macos-latest
251
251
steps :
@@ -255,11 +255,11 @@ jobs:
255
255
ruby-version : ' 3.0'
256
256
bundler-cache : true
257
257
- name : Install Ceedling
258
- run : sudo gem install ceedling -v 0.31.1 - -no-user-install
258
+ run : sudo gem install ceedling --no-user-install
259
259
- name : Install automake
260
260
run : HOMEBREW_NO_AUTO_UPDATE=1 brew install autoconf automake libtool
261
261
- name : Run build
262
- run : ceedling project: ios verbosity[4] release
262
+ run : ceedling -- project=ceedling/ ios.yml release --verbosity=debug
263
263
- name : Copy all public headers into the umbrella framework
264
264
run : cp public/*.h ios/Lightway/Lightway
265
265
- name : Build xcframework
@@ -275,11 +275,11 @@ jobs:
275
275
ruby-version : ' 3.0'
276
276
bundler-cache : true
277
277
- name : Install Ceedling
278
- run : sudo gem install ceedling -v 0.31.1 - -no-user-install
278
+ run : sudo gem install ceedling --no-user-install
279
279
- name : Install automake
280
280
run : HOMEBREW_NO_AUTO_UPDATE=1 brew install autoconf automake libtool
281
281
- name : Run build
282
- run : ceedling project: tvos verbosity[4] release
282
+ run : ceedling -- project=ceedling/ tvos.yml release --verbosity=debug
283
283
android :
284
284
runs-on : ubuntu-22.04
285
285
strategy :
@@ -293,8 +293,8 @@ jobs:
293
293
ruby-version : ' 3.0'
294
294
bundler-cache : true
295
295
- name : Install Ceedling
296
- run : sudo gem install ceedling -v 0.31.1 - -no-user-install
296
+ run : sudo gem install ceedling --no-user-install
297
297
- name : Run build
298
298
run : |
299
299
source android/android_env.sh ${{ matrix.arch }}
300
- ceedling project: android verbosity[4] release
300
+ ceedling --mixin= android release --verbosity=debug
0 commit comments