-
Notifications
You must be signed in to change notification settings - Fork 105
764 lines (649 loc) · 22.4 KB
/
multiplatform-build-test.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
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
name: Multiplatform Build and Test
env:
USE_EXISTING_BINARY_DATASET: 1
PIP_BREAK_SYSTEM_PACKAGES: 1
on:
workflow_dispatch:
schedule:
- cron: "0 8 * * *"
jobs:
generate-binary-demo:
runs-on: kuzu-self-hosted-testing
env:
NUM_THREADS: 32
GEN: Ninja
CC: gcc
CXX: g++
steps:
- uses: actions/checkout@v4
- name: Build
run: make release
- name: Generate datasets
run: bash scripts/generate_binary_demo.sh
- name: Upload binary-demo
uses: actions/upload-artifact@v4
with:
name: binary-demo
path: dataset/binary-demo
macos-build-test:
strategy:
matrix:
runner: [macos-13, macos-14]
fail-fast: false
name: ${{ matrix.runner }}
runs-on: ${{ matrix.runner }}
needs: [generate-binary-demo]
defaults:
run:
shell: bash
steps:
- uses: actions/checkout@v4
continue-on-error: true
- name: Download binary-demo
uses: actions/download-artifact@v4
with:
name: binary-demo
path: ${{ github.workspace }}/dataset/binary-demo
- uses: actions/setup-python@v4
continue-on-error: true
with:
python-version: "3.10"
- name: Ensure Python dependencies
continue-on-error: true
run: |
pip install torch~=2.2.0 --extra-index-url https://download.pytorch.org/whl/cpu
pip install --user -r tools/python_api/requirements_dev.txt -f https://data.pyg.org/whl/torch-2.2.0+cpu.html
- name: Ensure Node.js dependencies
continue-on-error: true
working-directory: tools/nodejs_api
run: npm install --include=dev
- name: Build
continue-on-error: true
run: |
set +e
make release NUM_THREADS=$(sysctl -n hw.physicalcpu)
echo "Build,$?" > status.txt
- name: Test
continue-on-error: true
run: |
set +e
make test NUM_THREADS=$(sysctl -n hw.physicalcpu)
echo "Test,$?" >> status.txt
- name: Remove ldbc-1
run: rm -rf dataset/ldbc-1
- name: C and C++ examples
continue-on-error: true
run: |
set +e
make example NUM_THREADS=$(sysctl -n hw.physicalcpu)
echo "C and C++ examples,$?" >> status.txt
- name: Python test
continue-on-error: true
run: |
set +e
make pytest NUM_THREADS=$(sysctl -n hw.physicalcpu)
echo "Python test,$?" >> status.txt
- name: Node.js test
continue-on-error: true
run: |
set +e
make nodejstest NUM_THREADS=$(sysctl -n hw.physicalcpu)
echo "Node.js test,$?" >> status.txt
- name: Java test
continue-on-error: true
run: |
set +e
make javatest NUM_THREADS=$(sysctl -n hw.physicalcpu)
echo "Java test,$?" >> status.txt
- name: Cleanup
run: make clean
- name: Rust share build
continue-on-error: true
run: echo $'[workspace]\nmembers = ["tools/rust_api","examples/rust"]' > Cargo.toml
- name: Rust set env
continue-on-error: true
run: echo "CARGO_BUILD_JOBS=$(sysctl -n hw.physicalcpu)" >> $GITHUB_ENV
- name: Rust test
continue-on-error: true
working-directory: tools/rust_api
run: |
set +e
cargo test --release --features arrow -- --test-threads=12
echo "Rust test,$?" >> ../../status.txt
- name: Rust example
continue-on-error: true
working-directory: examples/rust
run: |
set +e
cargo build --release --features arrow
echo "Rust example,$?" >> ../../status.txt
- name: Rename status.txt
continue-on-error: true
run: mv status.txt ${{ matrix.runner }}.csv
- uses: actions/upload-artifact@v4
continue-on-error: true
with:
name: ${{ matrix.runner }}
path: ${{ matrix.runner }}.csv
windows-build-test:
strategy:
matrix:
runner: [windows-2019, windows-2022]
fail-fast: false
name: ${{ matrix.runner }}
needs: [generate-binary-demo]
runs-on: ${{ matrix.runner }}
steps:
- name: Disable Windows Defender
continue-on-error: true
shell: powershell
run: |
Set-MpPreference -DisableRealtimeMonitoring $true
Set-MpPreference -DisableBehaviorMonitoring $true
Set-MpPreference -DisableBlockAtFirstSeen $true
Set-MpPreference -DisableIOAVProtection $true
Set-MpPreference -DisablePrivacyMode $true
Set-MpPreference -SignatureDisableUpdateOnStartupWithoutEngine $true
Set-MpPreference -DisableArchiveScanning $true
Set-MpPreference -DisableIntrusionPreventionSystem $true
Set-MpPreference -DisableScriptScanning $true
Set-MpPreference -SubmitSamplesConsent NeverSend
- uses: actions/checkout@v4
continue-on-error: true
- name: Download binary-demo
uses: actions/download-artifact@v4
with:
name: binary-demo
path: ${{ github.workspace }}/dataset/binary-demo
- uses: ilammy/msvc-dev-cmd@v1
continue-on-error: true
- uses: actions/setup-python@v4
continue-on-error: true
with:
python-version: "3.10"
- name: Ensure Python dependencies
continue-on-error: true
shell: cmd
run: |
pip install torch~=2.2.0 --extra-index-url https://download.pytorch.org/whl/cpu
pip install --user -r tools\python_api\requirements_dev.txt -f https://data.pyg.org/whl/torch-2.2.0+cpu.html
- name: Ensure Node.js dependencies
continue-on-error: true
shell: cmd
working-directory: .\tools\nodejs_api
run: npm install --include=dev
- name: Build
continue-on-error: true
shell: cmd
run: |
make release NUM_THREADS=%NUMBER_OF_PROCESSORS%
echo Build,%ERRORLEVEL% > status.txt
- name: Test
continue-on-error: true
shell: cmd
run: |
make test NUM_THREADS=%NUMBER_OF_PROCESSORS%
echo Test,%ERRORLEVEL% >> status.txt
- name: Remove ldbc-1
run: Remove-Item -Recurse -Force dataset\ldbc-1
- name: C and C++ examples
continue-on-error: true
shell: cmd
run: |
make example NUM_THREADS=%NUMBER_OF_PROCESSORS%
echo C and C++ examples,%ERRORLEVEL% >> status.txt
- name: Python test
continue-on-error: true
shell: cmd
run: |
make pytest NUM_THREADS=%NUMBER_OF_PROCESSORS%
echo Python test,%ERRORLEVEL% >> status.txt
- name: Node.js test
continue-on-error: true
shell: cmd
run: |
make nodejstest NUM_THREADS=%NUMBER_OF_PROCESSORS%
echo Node.js test,%ERRORLEVEL% >> status.txt
- name: Java test
continue-on-error: true
shell: cmd
run: |
make javatest NUM_THREADS=%NUMBER_OF_PROCESSORS%
echo Java test,%ERRORLEVEL% >> status.txt
- name: Cleanup
shell: cmd
run: make clean
- name: Rust share build
continue-on-error: true
shell: cmd
run: (echo [workspace]& echo members = ["tools/rust_api","examples/rust"]) > Cargo.toml
- name: Rust test
continue-on-error: true
shell: cmd
run: |
make clean
set OPENSSL_DIR=C:\Program Files\OpenSSL-Win64
set CXXFLAGS=/std:c++20
set CARGO_BUILD_JOBS=%NUMBER_OF_PROCESSORS%
cargo test --release --features arrow -- --test-threads=12
echo Rust test,%ERRORLEVEL% >> status.txt
- name: Rust example
continue-on-error: true
shell: cmd
run: |
set CARGO_BUILD_JOBS=%NUMBER_OF_PROCESSORS%
cargo build --release --features arrow
echo Rust example,%ERRORLEVEL% >> status.txt
- name: Rename status.txt
continue-on-error: true
shell: cmd
run: |
rename status.txt ${{ matrix.runner }}.csv
- uses: actions/upload-artifact@v4
continue-on-error: true
with:
name: ${{ matrix.runner }}
path: ${{ matrix.runner }}.csv
debian-ubuntu-build-test:
strategy:
matrix:
image: ["ubuntu:22.04", "ubuntu:24.04", "ubuntu:24.10", "debian:12", "debian:sid"]
fail-fast: false
name: ${{ matrix.image }}
needs: [generate-binary-demo]
runs-on: ubuntu-24.04
container:
image: ${{ matrix.image }}
env:
CC: gcc
CXX: g++
JAVA_HOME: /usr/lib/jvm/java-17-openjdk-amd64
steps:
- name: Setup Node.js
if: ${{ matrix.image != 'debian:sid' }}
continue-on-error: true
run: |
apt-get update
apt-get install -y ca-certificates curl gnupg
mkdir -p /etc/apt/keyrings
curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg
echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_20.x nodistro main" | tee /etc/apt/sources.list.d/nodesource.list
- name: Install packages
continue-on-error: true
run: |
apt-get update
apt-get install -y git build-essential cmake gcc g++ python3 python3-dev python3-pip openjdk-17-jdk nodejs ca-certificates curl gnupg
- name: Install npm
if: ${{ matrix.image == 'debian:sid' }}
continue-on-error: true
run: apt-get install -y npm
- uses: actions/checkout@v4
continue-on-error: true
- name: Download binary-demo
uses: actions/download-artifact@v4
with:
name: binary-demo
path: ${{ github.workspace }}/dataset/binary-demo
- name: Ensure Python dependencies
continue-on-error: true
run: |
pip install torch~=2.2.0 --extra-index-url https://download.pytorch.org/whl/cpu
pip install --user -r tools/python_api/requirements_dev.txt -f https://data.pyg.org/whl/torch-2.2.0+cpu.html
- name: Ensure Node.js dependencies
working-directory: tools/nodejs_api
continue-on-error: true
run: npm install --include=dev
- name: Install Rust
continue-on-error: true
run: |
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --no-update-default-toolchain
echo "$HOME/.cargo/bin" >> $GITHUB_PATH
$HOME/.cargo/bin/rustup toolchain install 1.76
- name: Build
continue-on-error: true
run: |
set +e
make release NUM_THREADS=$(nproc)
echo "Build,$?" > status.txt
- name: Test
continue-on-error: true
run: |
set +e
make test NUM_THREADS=$(nproc)
echo "Test,$?" >> status.txt
- name: Remove ldbc-1
run: rm -rf dataset/ldbc-1
- name: C and C++ examples
continue-on-error: true
run: |
set +e
make example NUM_THREADS=$(nproc)
echo "C and C++ examples,$?" >> status.txt
- name: Python test
continue-on-error: true
run: |
set +e
make pytest NUM_THREADS=$(nproc)
echo "Python test,$?" >> status.txt
- name: Node.js test
continue-on-error: true
run: |
set +e
make nodejstest NUM_THREADS=$(nproc)
echo "Node.js test,$?" >> status.txt
- name: Java test
continue-on-error: true
run: |
set +e
make javatest NUM_THREADS=$(nproc)
echo "Java test,$?" >> status.txt
- name: Cleanup
run: make clean
- name: Rust share build
continue-on-error: true
run: echo '[workspace]\nmembers = ["tools/rust_api","examples/rust"]' > Cargo.toml
- name: Rust set env
continue-on-error: true
run: echo "CARGO_BUILD_JOBS=$(nproc)" >> $GITHUB_ENV
- name: Rust test
continue-on-error: true
working-directory: tools/rust_api
run: |
set +e
cargo test --release --features arrow -- --test-threads=12
echo "Rust test,$?" >> ../../status.txt
- name: Rust example
continue-on-error: true
working-directory: examples/rust
run: |
set +e
cargo build --release --features arrow
echo "Rust example,$?" >> ../../status.txt
- name: Rename status.txt
continue-on-error: true
run: |
PLATFORM=$(echo ${{ matrix.image }} | tr ':' '-')
echo "PLATFORM=$PLATFORM" >> $GITHUB_ENV
mv status.txt $PLATFORM.csv
- uses: actions/upload-artifact@v4
continue-on-error: true
with:
name: ${{env.PLATFORM}}
path: ${{env.PLATFORM}}.csv
rhel-fedora-build-test:
strategy:
matrix:
image: ["rockylinux:8", "rockylinux:9", "fedora:38", "fedora:39"]
fail-fast: false
name: ${{ matrix.image }}
needs: [generate-binary-demo]
runs-on: ubuntu-24.04
container:
image: ${{ matrix.image }}
env:
CC: gcc
CXX: g++
JAVA_HOME: /usr/lib/jvm/java-17-openjdk
HOME: /root
steps:
- name: Enable EPEL
continue-on-error: true
if: ${{ matrix.image == 'rockylinux:8' || matrix.image == 'rockylinux:9' }}
run: |
dnf update -y
dnf install -y epel-release
dnf update -y
- name: Enable SHA-1 on Rocky Linux 9
continue-on-error: true
if: matrix.image == 'rockylinux:9'
run: update-crypto-policies --set LEGACY
- name: Install packages
continue-on-error: true
run: |
curl -fsSL https://rpm.nodesource.com/setup_20.x | bash -
dnf install -y git cmake ${{ matrix.image == 'rockylinux:8' && 'gcc-toolset-12 python3.11 python3.11-devel' || 'gcc gcc-c++ python3-devel' }} java-17-openjdk-devel nodejs
- name: Enable gcc-toolset-12 and python3.11 on Rocky Linux 8
continue-on-error: true
if: matrix.image == 'rockylinux:8'
run: |
alternatives --set python /usr/bin/python3.11
alternatives --set python3 /usr/bin/python3.11
echo "PYTHON_EXECUTABLE=/usr/bin/python3.11" >> $GITHUB_ENV
echo "PYBIND11_PYTHON_VERSION=3.11" >> $GITHUB_ENV
source /opt/rh/gcc-toolset-12/enable
echo $PATH >> $GITHUB_PATH
- uses: actions/checkout@v4
continue-on-error: true
- name: Download binary-demo
uses: actions/download-artifact@v4
with:
name: binary-demo
path: ${{ github.workspace }}/dataset/binary-demo
- name: Ensure Python dependencies
continue-on-error: true
run: |
python3 -m venv /opt/venv
source /opt/venv/bin/activate
pip3 install torch~=2.2.1 --extra-index-url https://download.pytorch.org/whl/cpu
pip3 install -r tools/python_api/requirements_dev.txt -f https://data.pyg.org/whl/torch-2.2.1+cpu.html
- name: Ensure Node.js dependencies
continue-on-error: true
working-directory: tools/nodejs_api
run: npm install --include=dev
- name: Install Rust
continue-on-error: true
run: |
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --no-update-default-toolchain
echo "$HOME/.cargo/bin" >> $GITHUB_PATH
$HOME/.cargo/bin/rustup toolchain install 1.76
- name: Build
continue-on-error: true
run: |
set +e
make release NUM_THREADS=$(nproc)
echo "Build,$?" > status.txt
- name: Test
continue-on-error: true
run: |
set +e
make test NUM_THREADS=$(nproc)
echo "Test,$?" >> status.txt
- name: Remove ldbc-1
run: rm -rf dataset/ldbc-1
- name: C and C++ examples
continue-on-error: true
run: |
set +e
make example NUM_THREADS=$(nproc)
echo "C and C++ examples,$?" >> status.txt
- name: Python test
continue-on-error: true
run: |
set +e
source /opt/venv/bin/activate
make pytest NUM_THREADS=$(nproc)
echo "Python test,$?" >> status.txt
- name: Node.js test
continue-on-error: true
run: |
set +e
make nodejstest NUM_THREADS=$(nproc)
echo "Node.js test,$?" >> status.txt
- name: Java test
continue-on-error: true
run: |
set +e
make javatest NUM_THREADS=$(nproc)
echo "Java test,$?" >> status.txt
- name: Cleanup
run: make clean
- name: Rust share build
continue-on-error: true
run: echo $'[workspace]\nmembers = ["tools/rust_api","examples/rust"]' > Cargo.toml
- name: Rust set env
continue-on-error: true
run: echo "CARGO_BUILD_JOBS=$(nproc)" >> $GITHUB_ENV
- name: Rust test
continue-on-error: true
working-directory: tools/rust_api
run: |
set +e
cargo test --release --features arrow -- --test-threads=12
echo "Rust test,$?" >> ../../status.txt
- name: Rust example
continue-on-error: true
working-directory: examples/rust
run: |
set +e
cargo build --release --features arrow
echo "Rust example,$?" >> ../../status.txt
- name: Rename status.txt
continue-on-error: true
run: |
PLATFORM=$(echo ${{ matrix.image }} | tr ':' '-')
echo "PLATFORM=$PLATFORM" >> $GITHUB_ENV
mv status.txt $PLATFORM.csv
- uses: actions/upload-artifact@v4
continue-on-error: true
with:
name: ${{env.PLATFORM}}
path: ${{env.PLATFORM}}.csv
archlinux-build-test:
name: archlinux
runs-on: ubuntu-24.04
needs: [generate-binary-demo]
container:
image: archlinux:latest
env:
CC: gcc
CXX: g++
JAVA_HOME: /usr/lib/jvm/java-17-openjdk
steps:
- name: Install packages
continue-on-error: true
run: |
pacman -Syu --noconfirm
pacman -S --needed --noconfirm git base-devel cmake gcc python python-pip npm jdk17-openjdk
- uses: actions/checkout@v4
continue-on-error: true
- name: Download binary-demo
uses: actions/download-artifact@v4
with:
name: binary-demo
path: ${{ github.workspace }}/dataset/binary-demo
- name: Ensure Python dependencies
continue-on-error: true
run: |
pip install torch~=2.2.0 --extra-index-url https://download.pytorch.org/whl/cpu
pip install --user -r tools/python_api/requirements_dev.txt -f https://data.pyg.org/whl/torch-2.2.0+cpu.html
- name: Ensure Node.js dependencies
continue-on-error: true
working-directory: tools/nodejs_api
run: npm install --include=dev
- name: Install Rust
continue-on-error: true
run: |
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --no-update-default-toolchain
echo "$HOME/.cargo/bin" >> $GITHUB_PATH
$HOME/.cargo/bin/rustup toolchain install 1.76
- name: Build
continue-on-error: true
run: |
set +e
make release NUM_THREADS=$(nproc)
echo "Build,$?" > status.txt
- name: Test
continue-on-error: true
run: |
set +e
make test NUM_THREADS=$(nproc)
echo "Test,$?" >> status.txt
- name: Remove ldbc-1
run: rm -rf dataset/ldbc-1
- name: C and C++ examples
continue-on-error: true
run: |
set +e
make example NUM_THREADS=$(nproc)
echo "C and C++ examples,$?" >> status.txt
- name: Python test
continue-on-error: true
run: |
set +e
make pytest NUM_THREADS=$(nproc)
echo "Python test,$?" >> status.txt
- name: Node.js test
continue-on-error: true
run: |
set +e
make nodejstest NUM_THREADS=$(nproc)
echo "Node.js test,$?" >> status.txt
- name: Java test
continue-on-error: true
run: |
set +e
make javatest NUM_THREADS=$(nproc)
echo "Java test,$?" >> status.txt
- name: Cleanup
run: make clean
- name: Rust share build
continue-on-error: true
run: echo $'[workspace]\nmembers = ["tools/rust_api","examples/rust"]' > Cargo.toml
- name: Rust set env
continue-on-error: true
run: echo "CARGO_BUILD_JOBS=$(nproc)" >> $GITHUB_ENV
- name: Rust test
working-directory: tools/rust_api
continue-on-error: true
run: |
set +e
cargo test --release --features arrow -- --test-threads=12
echo "Rust test,$?" >> ../../status.txt
- name: Rust example
working-directory: examples/rust
continue-on-error: true
run: |
set +e
cargo build --release --features arrow
echo "Rust example,$?" >> ../../status.txt
- name: Rename status.txt
continue-on-error: true
run: |
mv status.txt archlinux.csv
- uses: actions/upload-artifact@v4
continue-on-error: true
with:
name: archlinux
path: archlinux.csv
collect-results:
runs-on: ubuntu-22.04
env:
DISCORD_CHANNEL_ID: ${{ secrets.DISCORD_CHANNEL_ID }}
DISCORD_BOT_TOKEN: ${{ secrets.DISCORD_BOT_TOKEN }}
GITHUB_URL: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}
needs:
[
macos-build-test,
windows-build-test,
debian-ubuntu-build-test,
rhel-fedora-build-test,
archlinux-build-test,
]
steps:
- uses: actions/checkout@v4
- name: Download artifacts
uses: actions/download-artifact@v4
with:
path: results
- name: List artifacts
run: ls -R results
- name: Create summary
run: |
pip3 install pandas tabulate discord.py
python3 scripts/multiplatform-test-helper/collect-results.py results
python3 scripts/multiplatform-test-helper/notify-discord.py results.json
- name: Upload summary
uses: actions/upload-artifact@v4
with:
name: results
path: results.md