-
Notifications
You must be signed in to change notification settings - Fork 549
627 lines (528 loc) · 20 KB
/
main.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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
name: Passenger CI tests
env:
FORCE_COLOR: 1
DEFAULT_RUBY_VERSION: 3.1
BUNDLE_CLEAN: true
USE_ASAN: true
on:
push: {}
pull_request: {}
jobs:
# cxx-linux:
# name: C++ tests on Linux
# runs-on: ubuntu-24.04
# timeout-minutes: 30
# env:
# EXTRA_CFLAGS: '-fdiagnostics-color'
# EXTRA_CXXFLAGS: '-fdiagnostics-color'
# SCCACHE_AZURE_BLOB_CONTAINER: ${{ vars.SCCACHE_AZURE_BLOB_CONTAINER }}
# SCCACHE_AZURE_KEY_PREFIX: sccache/cxx-ubuntu-24.04
# steps:
# - uses: actions/checkout@v4
# with:
# submodules: true
# - uses: ruby/setup-ruby@v1
# with:
# ruby-version: ${{ env.DEFAULT_RUBY_VERSION }}
# bundler-cache: true
# - name: Setup bundle gem path
# run: ./dev/ci/setup-bundle-gem-path
# - name: Setup sccache
# run: ./dev/ci/setup-sccache
# timeout-minutes: 1
# env:
# ARCH_AND_OS: x86_64-unknown-linux-musl
# SCCACHE_AZURE_CONNECTION_STRING: ${{ secrets.AZURE_CI_STORAGE_CONNECTION_STRING }}
# - name: Setup library dependencies
# run: >
# sudo apt update &&
# sudo apt install -y libcurl4-openssl-dev
# - name: Setup misc
# run: |
# set -x
# sudo chmod 755 "$HOME"
# cp test/config.json.github-ci-linux test/config.json
# - name: Build C++ tests
# run: bundle exec drake -j4 test:cxx:build
# - name: Run C++ tests
# run: >
# sudo env
# PATH="$PATH"
# GEM_PATH="$GEM_PATH"
# ../buildout/test/cxx/main
# working-directory: test
# - name: Archive logs
# uses: actions/upload-artifact@v4
# with:
# name: cxx-test-logs-macos
# path: 'buildout/testlogs/*'
# - name: Teardown sccache
# run: ./dev/ci/teardown-sccache
# if: always()
# cxx-macos:
# name: C++ tests on macOS
# runs-on: macos-14
# timeout-minutes: 30
# env:
# EXTRA_CFLAGS: '-I/opt/homebrew/opt/openssl@3/include -fcolor-diagnostics'
# EXTRA_CXXFLAGS: '-I/opt/homebrew/opt/openssl@3/include -fcolor-diagnostics'
# SCCACHE_AZURE_BLOB_CONTAINER: ${{ vars.SCCACHE_AZURE_BLOB_CONTAINER }}
# SCCACHE_AZURE_KEY_PREFIX: sccache/cxx-macos-14
# steps:
# - uses: actions/checkout@v4
# with:
# submodules: true
# - uses: ruby/setup-ruby@v1
# with:
# ruby-version: ${{ env.DEFAULT_RUBY_VERSION }}
# bundler-cache: true
# - name: Setup bundle gem path
# run: ./dev/ci/setup-bundle-gem-path
# - name: Setup sccache
# run: ./dev/ci/setup-sccache
# timeout-minutes: 1
# env:
# ARCH_AND_OS: aarch64-apple-darwin
# SCCACHE_AZURE_CONNECTION_STRING: ${{ secrets.AZURE_CI_STORAGE_CONNECTION_STRING }}
# - name: Setup misc
# run: |
# sudo chmod 755 "$HOME"
# sed "s|_USER_|$(whoami)|" test/config.json.github-ci-macos > test/config.json
# - name: Build C++ tests
# run: bundle exec drake -j4 test:cxx:build
# - name: Run C++ tests
# # The AbortHandler doesn't work so well on Github's macOS runners:
# # - crash-watch invocation freezes the runner, so we disable this.
# # - resuming the parent process after SIGSTOP doesn't work, so we force kill the parent.
# run: >
# sudo env
# PATH="$PATH"
# GEM_PATH="$GEM_PATH"
# PASSENGER_DUMP_WITH_CRASH_WATCH=false
# PASSENGER_FORCE_TERMINATE_ON_ABORT=true
# ../buildout/test/cxx/main
# working-directory: test
# # The AbortHandler may not be able to forcefully kill the parent. We set a low timeout
# # to prevent the test from hanging for a long time.
# timeout-minutes: 10
# - name: Archive logs
# uses: actions/upload-artifact@v4
# with:
# name: cxx-test-logs-macos
# path: 'buildout/testlogs/*'
# - name: Teardown sccache
# run: ./dev/ci/teardown-sccache
# if: always()
apache2:
name: "Apache2 tests on ${{ matrix.name }}"
strategy:
fail-fast: false
matrix:
include:
# - name: Linux
# os: ubuntu-24.04
# config_file: test/config.json.github-ci-linux
# extra_cflags: '-fdiagnostics-color'
# sccache_arch_and_os: x86_64-unknown-linux-musl
# sccache_azure_key_prefix: sccache/cxx-ubuntu-24.04
- name: macOS
os: macos-14
config_file: test/config.json.github-ci-macos
extra_cflags: '-I/opt/homebrew/opt/openssl@3/include -fcolor-diagnostics'
sccache_arch_and_os: aarch64-apple-darwin
sccache_azure_key_prefix: sccache/cxx-macos-14
runs-on: ${{ matrix.os }}
env:
EXTRA_CFLAGS: ${{ matrix.extra_cflags }}
EXTRA_CXXFLAGS: ${{ matrix.extra_cflags }}
SCCACHE_AZURE_BLOB_CONTAINER: ${{ vars.SCCACHE_AZURE_BLOB_CONTAINER }}
SCCACHE_AZURE_KEY_PREFIX: ${{ matrix.sccache_azure_key_prefix }}
steps:
- uses: actions/checkout@v4
with:
submodules: true
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ env.DEFAULT_RUBY_VERSION }}
bundler-cache: true
- uses: actions/setup-node@v4
with:
node-version: 18
cache: npm
- name: Setup bundle gem path
run: ./dev/ci/setup-bundle-gem-path
- name: Setup misc
run: |
sudo chmod 755 "$HOME"
sed "s|_USER_|$(whoami)|" ${{ matrix.config_file }} > test/config.json
- name: Setup Linux dependencies
run: >
sudo apt update &&
sudo apt install -y libcurl4-openssl-dev apache2-dev libapr1-dev libaprutil1-dev
if: matrix.name == 'Linux'
- name: Setup hosts entries
run: |
echo 127.0.0.1 passenger.test | sudo tee -a /etc/hosts
echo 127.0.0.1 1.passenger.test 2.passenger.test 3.passenger.test | sudo tee -a /etc/hosts
echo 127.0.0.1 4.passenger.test 5.passenger.test 6.passenger.test | sudo tee -a /etc/hosts
echo 127.0.0.1 7.passenger.test 8.passenger.test 9.passenger.test | sudo tee -a /etc/hosts
- run: npm ci
- name: Setup sccache
run: ./dev/ci/setup-sccache
timeout-minutes: 1
env:
ARCH_AND_OS: ${{ matrix.sccache_arch_and_os }}
SCCACHE_AZURE_CONNECTION_STRING: ${{ secrets.AZURE_CI_STORAGE_CONNECTION_STRING }}
- name: Test module installation as normal user
run: ./bin/passenger-install-apache2-module --auto --force-colors --no-compile
- name: Teardown sccache
run: ./dev/ci/teardown-sccache
if: always()
- name: Setup sccache as root
run: ./dev/ci/setup-sccache
timeout-minutes: 1
env:
SUDO: true
SCCACHE_LOG: trace
ARCH_AND_OS: ${{ matrix.sccache_arch_and_os }}
SCCACHE_AZURE_CONNECTION_STRING: ${{ secrets.AZURE_CI_STORAGE_CONNECTION_STRING }}
- name: Test module installation as root
run: sudo -E ./bin/passenger-install-apache2-module --auto --force-colors --no-compile --verbose-depcheck
env:
SCCACHE_LOG: trace
SCRIPT: |
which cc
cc --version
touch foo.c
cc -c foo.c
rm foo.o
- name: Teardown sccache as root
run: ./dev/ci/teardown-sccache
if: always()
env:
SUDO: true
- name: Integration tests
run: bundle exec rake test:integration:apache2
- name: Archive logs
uses: actions/upload-artifact@v4
with:
name: apache-test-logs-${{ matrix.os }}
path: 'buildout/testlogs/*'
# nginx:
# name: "Nginx tests on ${{ matrix.name }}"
# strategy:
# fail-fast: false
# matrix:
# include:
# - name: Linux
# os: ubuntu-24.04
# config_file: test/config.json.github-ci-linux
# extra_cflags: '-fdiagnostics-color'
# sccache_arch_and_os: x86_64-unknown-linux-musl
# sccache_azure_key_prefix: sccache/cxx-ubuntu-24.04
# - name: macOS
# os: macos-14
# config_file: test/config.json.github-ci-macos
# extra_cflags: '-I/opt/homebrew/opt/openssl@3/include -fcolor-diagnostics'
# sccache_arch_and_os: aarch64-apple-darwin
# sccache_azure_key_prefix: sccache/cxx-macos-14
# runs-on: ${{ matrix.os }}
# env:
# EXTRA_CFLAGS: ${{ matrix.extra_cflags }}
# EXTRA_CXXFLAGS: ${{ matrix.extra_cflags }}
# SCCACHE_AZURE_BLOB_CONTAINER: ${{ vars.SCCACHE_AZURE_BLOB_CONTAINER }}
# SCCACHE_AZURE_KEY_PREFIX: ${{ matrix.sccache_azure_key_prefix }}
# steps:
# - uses: actions/checkout@v4
# with:
# submodules: true
# - uses: ruby/setup-ruby@v1
# with:
# ruby-version: ${{ env.DEFAULT_RUBY_VERSION }}
# bundler-cache: true
# - uses: actions/setup-node@v4
# with:
# node-version: 18
# cache: npm
# - name: Setup bundle gem path
# run: ./dev/ci/setup-bundle-gem-path
# - name: Setup sccache
# run: ./dev/ci/setup-sccache
# timeout-minutes: 1
# env:
# ARCH_AND_OS: ${{ matrix.sccache_arch_and_os }}
# SCCACHE_AZURE_CONNECTION_STRING: ${{ secrets.AZURE_CI_STORAGE_CONNECTION_STRING }}
# - name: Setup misc
# run: |
# sudo chmod 755 "$HOME"
# sed "s|_USER_|$(whoami)|" ${{ matrix.config_file }} > test/config.json
# - name: Setup Linux dependencies
# run: >
# sudo apt update &&
# sudo apt install -y libcurl4-openssl-dev
# if: matrix.name == 'Linux'
# - name: Setup hosts entries
# run: |
# echo 127.0.0.1 passenger.test | sudo tee -a /etc/hosts
# echo 127.0.0.1 1.passenger.test 2.passenger.test 3.passenger.test | sudo tee -a /etc/hosts
# echo 127.0.0.1 4.passenger.test 5.passenger.test 6.passenger.test | sudo tee -a /etc/hosts
# echo 127.0.0.1 7.passenger.test 8.passenger.test 9.passenger.test | sudo tee -a /etc/hosts
# - run: npm ci
# - name: Test installation
# run: ./bin/passenger-install-nginx-module --auto --force-colors --prefix=/tmp/nginx --auto-download
# - name: Integration tests
# run: bundle exec rake test:integration:nginx
# - name: Archive logs
# uses: actions/upload-artifact@v4
# with:
# name: nginx-test-logs-${{ matrix.os }}
# path: 'buildout/testlogs/*'
# - name: Teardown sccache
# run: ./dev/ci/teardown-sccache
# if: always()
# nginx_dynamic:
# name: "Nginx dynamic module tests on ${{ matrix.name }}"
# strategy:
# fail-fast: false
# matrix:
# include:
# - name: Linux
# os: ubuntu-24.04
# extra_cflags: '-fdiagnostics-color'
# sccache_arch_and_os: x86_64-unknown-linux-musl
# sccache_azure_key_prefix: sccache/cxx-ubuntu-24.04
# - name: macOS
# os: macos-14
# extra_cflags: '-I/opt/homebrew/opt/openssl@3/include -fcolor-diagnostics'
# sccache_arch_and_os: aarch64-apple-darwin
# sccache_azure_key_prefix: sccache/cxx-macos-14
# runs-on: ${{ matrix.os }}
# env:
# EXTRA_CFLAGS: ${{ matrix.extra_cflags }}
# EXTRA_CXXFLAGS: ${{ matrix.extra_cflags }}
# SCCACHE_AZURE_BLOB_CONTAINER: ${{ vars.SCCACHE_AZURE_BLOB_CONTAINER }}
# SCCACHE_AZURE_KEY_PREFIX: ${{ matrix.sccache_azure_key_prefix }}
# steps:
# - uses: actions/checkout@v4
# with:
# submodules: true
# - uses: ruby/setup-ruby@v1
# with:
# ruby-version: ${{ env.DEFAULT_RUBY_VERSION }}
# bundler-cache: true
# - name: Setup bundle gem path
# run: ./dev/ci/setup-bundle-gem-path
# - name: Setup sccache
# run: ./dev/ci/setup-sccache
# timeout-minutes: 1
# env:
# ARCH_AND_OS: ${{ matrix.sccache_arch_and_os }}
# SCCACHE_AZURE_CONNECTION_STRING: ${{ secrets.AZURE_CI_STORAGE_CONNECTION_STRING }}
# - name: Setup Linux dependencies
# run: >
# sudo apt update &&
# sudo apt install -y libcurl4-openssl-dev
# if: matrix.name == 'Linux'
# - name: Setup parameters
# run: |
# TEST_DYNAMIC_WITH_NGINX_VERSION=$(ruby -r "./src/ruby_supportlib/phusion_passenger.rb" -e 'puts PhusionPassenger::PREFERRED_NGINX_VERSION')
# NGINX_ADDON_DIR=$(./bin/passenger-config --nginx-addon-dir)
# echo "TEST_DYNAMIC_WITH_NGINX_VERSION=$TEST_DYNAMIC_WITH_NGINX_VERSION" >> "$GITHUB_ENV"
# echo "NGINX_ADDON_DIR=$NGINX_ADDON_DIR" >> "$GITHUB_ENV"
# - name: Compile module
# run: bundle exec drake -j4 nginx:as_dynamic_module
# - name: Download Nginx source
# run: curl -sSLO "https://www.nginx.org/download/nginx-$TEST_DYNAMIC_WITH_NGINX_VERSION.tar.gz"
# - name: Extract Nginx source
# run: tar -xzf "nginx-$TEST_DYNAMIC_WITH_NGINX_VERSION.tar.gz"
# - name: Configure Nginx source
# run: ./configure --with-cc-opt='-Wno-error' --add-dynamic-module="$NGINX_ADDON_DIR"
# working-directory: "nginx-${{ env.TEST_DYNAMIC_WITH_NGINX_VERSION }}"
# - name: Compile Nginx with dynamic module
# run: make -j4
# working-directory: "nginx-${{ env.TEST_DYNAMIC_WITH_NGINX_VERSION }}"
# - name: Teardown sccache
# run: ./dev/ci/teardown-sccache
# if: always()
# standalone:
# name: "Passenger Standalone tests on ${{ matrix.name }}"
# strategy:
# fail-fast: false
# matrix:
# include:
# - name: Linux
# os: ubuntu-24.04
# extra_cflags: '-fdiagnostics-color'
# sccache_arch_and_os: x86_64-unknown-linux-musl
# sccache_azure_key_prefix: sccache/cxx-ubuntu-24.04
# - name: macOS
# os: macos-14
# extra_cflags: '-I/opt/homebrew/opt/openssl@3/include -fcolor-diagnostics'
# sccache_arch_and_os: aarch64-apple-darwin
# sccache_azure_key_prefix: sccache/cxx-macos-14
# runs-on: ${{ matrix.os }}
# env:
# EXTRA_CFLAGS: ${{ matrix.extra_cflags }}
# EXTRA_CXXFLAGS: ${{ matrix.extra_cflags }}
# SCCACHE_AZURE_BLOB_CONTAINER: ${{ vars.SCCACHE_AZURE_BLOB_CONTAINER }}
# SCCACHE_AZURE_KEY_PREFIX: ${{ matrix.sccache_azure_key_prefix }}
# steps:
# - uses: actions/checkout@v4
# with:
# submodules: true
# - uses: ruby/setup-ruby@v1
# with:
# ruby-version: ${{ env.DEFAULT_RUBY_VERSION }}
# bundler-cache: true
# - name: Setup bundle gem path
# run: ./dev/ci/setup-bundle-gem-path
# - name: Setup sccache
# run: ./dev/ci/setup-sccache
# timeout-minutes: 1
# env:
# ARCH_AND_OS: ${{ matrix.sccache_arch_and_os }}
# SCCACHE_AZURE_CONNECTION_STRING: ${{ secrets.AZURE_CI_STORAGE_CONNECTION_STRING }}
# - name: Setup Linux dependencies
# run: >
# sudo apt update &&
# sudo apt install -y libcurl4-openssl-dev
# if: matrix.name == 'Linux'
# - name: Compile
# run: bundle exec drake -j4 agent
# - name: Integration test
# run: bundle exec drake -j4 test:integration:standalone
# - name: Teardown sccache
# run: ./dev/ci/teardown-sccache
# if: always()
# ruby:
# name: "Ruby tests on ${{ matrix.name }}"
# strategy:
# fail-fast: false
# matrix:
# include:
# - name: Linux
# os: ubuntu-24.04
# config_file: test/config.json.github-ci-linux
# extra_cflags: '-fdiagnostics-color'
# sccache_arch_and_os: x86_64-unknown-linux-musl
# sccache_azure_key_prefix: sccache/cxx-ubuntu-24.04
# - name: macOS
# os: macos-14
# config_file: test/config.json.github-ci-macos
# extra_cflags: '-I/opt/homebrew/opt/openssl@3/include -fcolor-diagnostics'
# sccache_arch_and_os: aarch64-apple-darwin
# sccache_azure_key_prefix: sccache/cxx-macos-14
# runs-on: ${{ matrix.os }}
# env:
# EXTRA_CFLAGS: ${{ matrix.extra_cflags }}
# EXTRA_CXXFLAGS: ${{ matrix.extra_cflags }}
# SCCACHE_AZURE_BLOB_CONTAINER: ${{ vars.SCCACHE_AZURE_BLOB_CONTAINER }}
# SCCACHE_AZURE_KEY_PREFIX: ${{ matrix.sccache_azure_key_prefix }}
# steps:
# - uses: actions/checkout@v4
# with:
# submodules: true
# - uses: ruby/setup-ruby@v1
# with:
# ruby-version: ${{ env.DEFAULT_RUBY_VERSION }}
# bundler-cache: true
# - name: Setup bundle gem path
# run: ./dev/ci/setup-bundle-gem-path
# - name: Setup sccache
# run: ./dev/ci/setup-sccache
# timeout-minutes: 1
# env:
# ARCH_AND_OS: ${{ matrix.sccache_arch_and_os }}
# SCCACHE_AZURE_CONNECTION_STRING: ${{ secrets.AZURE_CI_STORAGE_CONNECTION_STRING }}
# - name: Setup misc
# run: |
# sudo chmod 755 "$HOME"
# sed "s|_USER_|$(whoami)|" ${{ matrix.config_file }} > test/config.json
# - name: Setup Linux dependencies
# run: >
# sudo apt update &&
# sudo apt install -y libcurl4-openssl-dev
# if: matrix.name == 'Linux'
# - name: Compile
# run: bundle exec drake -j4 agent
# - name: Test
# run: bundle exec rake test:ruby
# - name: Teardown sccache
# run: ./dev/ci/teardown-sccache
# if: always()
# nodejs:
# name: "Node.js tests on ${{ matrix.name }}"
# strategy:
# fail-fast: false
# matrix:
# include:
# - name: Linux
# os: ubuntu-24.04
# - name: macOS
# os: macos-14
# runs-on: ${{ matrix.os }}
# steps:
# - uses: actions/checkout@v4
# with:
# submodules: true
# - uses: ruby/setup-ruby@v1
# with:
# ruby-version: ${{ env.DEFAULT_RUBY_VERSION }}
# bundler-cache: true
# - uses: actions/setup-node@v4
# with:
# node-version: 18
# cache: npm
# - name: Setup bundle gem path
# run: ./dev/ci/setup-bundle-gem-path
# - run: npm ci
# - name: Test
# run: bundle exec rake test:node
# homebrew_packaging:
# name: Homebrew packaging tests
# runs-on: macos-14
# steps:
# - uses: actions/checkout@v4
# with:
# submodules: true
# - uses: ruby/setup-ruby@v1
# with:
# ruby-version: ${{ env.DEFAULT_RUBY_VERSION }}
# bundler-cache: true
# - name: Setup bundle gem path
# run: ./dev/ci/setup-bundle-gem-path
# - name: Create tarball
# run: bundle exec rake package:set_official package:tarball
# - name: Check whether formula is up-to-date
# run: >
# ./packaging/homebrew/verify-oss-formula-uptodate
# -c homebrew-core.git
# -r upstream
# - name: Modify formula
# run: >
# ./packaging/homebrew/modify-formula
# --passenger-dir .
# --formula packaging/homebrew/Formula/passenger.rb
# --tarball pkg/*.tar.gz
# --output pkg/passenger.rb
# - name: Test formula
# run: >
# ./packaging/homebrew/test-formula
# -p .
# -f pkg/passenger.rb
# -t pkg/*.tar.gz
# source_packaging:
# name: Source packaging tests
# runs-on: ubuntu-24.04
# steps:
# - uses: actions/checkout@v4
# with:
# submodules: true
# - uses: ruby/setup-ruby@v1
# with:
# ruby-version: ${{ env.DEFAULT_RUBY_VERSION }}
# bundler-cache: true
# - name: Setup bundle gem path
# run: ./dev/ci/setup-bundle-gem-path
# - name: Test
# run: bundle exec rake test:source_packaging