-
Notifications
You must be signed in to change notification settings - Fork 11
77 lines (69 loc) · 2.11 KB
/
linux_thirdparty.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: build-test-thirdparty
on: [push, pull_request, workflow_dispatch]
jobs:
docker:
runs-on: ubuntu-24.04
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build image
uses: docker/build-push-action@v6
with:
platforms: linux/amd64
context: .
file: scripts/debian_asan.Dockerfile
tags: debian_asan
outputs: type=docker,dest=/tmp/debian_asan.tar
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: debian_asan
path: /tmp/debian_asan.tar
thirdparty-tests:
runs-on: ubuntu-24.04
needs: docker
strategy:
matrix:
include:
- thirdparty: test_perl
- thirdparty: test_cello
- thirdparty: test_curl
- thirdparty: test_doom
- thirdparty: test_git
- thirdparty: test_libpng
- thirdparty: test_libuev
- thirdparty: test_lua
- thirdparty: test_metalang99
- thirdparty: test_oniguruma_jq
- thirdparty: test_openssh
- thirdparty: test_openssl
- thirdparty: test_php
- thirdparty: test_postgres
- thirdparty: test_python
- thirdparty: test_qbe_hare
- thirdparty: test_sqlite
- thirdparty: test_tinycc
- thirdparty: test_toxcore
- thirdparty: test_toybox
- thirdparty: test_vim
- thirdparty: test_zlib
- thirdparty: test_zstd
- thirdparty: build_gcc
- thirdparty: build_musl
- thirdparty: build_nano
- thirdparty: build_sdl
steps:
- name: Download artifact
uses: actions/download-artifact@v4
with:
name: debian_asan
path: /tmp
- name: Load image
run: docker load --input /tmp/debian_asan.tar
- name: Run test
run: >
sudo docker run debian_asan
su non-root -c
'bash "$0" "$1"' linux_thirdparty.bash ${{ matrix.thirdparty }}