|
2 | 2 | name: CI |
3 | 3 | on: [ workflow_dispatch, push, pull_request ] |
4 | 4 | jobs: |
5 | | - omnilint: |
6 | | - runs-on: ubuntu-latest |
7 | | - steps: |
8 | | - |
9 | | - - uses: docker://lpenz/omnilint:0.5.2 |
10 | | - pytest: |
11 | | - runs-on: ubuntu-latest |
12 | | - steps: |
13 | | - |
14 | | - |
15 | | - - name: Install pytest |
16 | | - run: python -m pip install pytest |
17 | | - - run: pytest |
18 | | - test: |
19 | | - strategy: |
20 | | - matrix: |
21 | | - preset: |
22 | | - - cppcheck |
23 | | - - install |
24 | | - - clang-tidy |
25 | | - - clang-sanitize-address |
26 | | - - clang-sanitize-memory |
27 | | - - clang-sanitize-undefined |
28 | | - - clang-sanitize-dataflow |
29 | | - - clang-sanitize-safe-stack |
30 | | - - gcc-sanitize-address |
31 | | - - valgrind |
32 | | - - cpack |
33 | | - - coverage |
34 | | - runs-on: ubuntu-latest |
35 | | - steps: |
36 | | - |
37 | | - with: |
38 | | - path: ghaction-cmake |
39 | | - |
40 | | - with: |
41 | | - repository: lpenz/execpermfix |
42 | | - path: execpermfix |
43 | | - fetch-depth: 0 |
44 | | - - uses: ./ghaction-cmake |
45 | | - with: |
46 | | - preset: ${{ matrix.preset }} |
47 | | - working-directory: execpermfix |
| 5 | + # omnilint: |
| 6 | + # runs-on: ubuntu-latest |
| 7 | + # steps: |
| 8 | + # - uses: actions/[email protected] |
| 9 | + # - uses: docker://lpenz/omnilint:0.5.2 |
| 10 | + # pytest: |
| 11 | + # runs-on: ubuntu-latest |
| 12 | + # steps: |
| 13 | + # - uses: actions/[email protected] |
| 14 | + # - uses: actions/[email protected] |
| 15 | + # - name: Install pytest |
| 16 | + # run: python -m pip install pytest |
| 17 | + # - run: pytest |
| 18 | + # test: |
| 19 | + # strategy: |
| 20 | + # matrix: |
| 21 | + # preset: |
| 22 | + # - cppcheck |
| 23 | + # - install |
| 24 | + # - clang-tidy |
| 25 | + # - clang-sanitize-address |
| 26 | + # - clang-sanitize-memory |
| 27 | + # - clang-sanitize-undefined |
| 28 | + # - clang-sanitize-dataflow |
| 29 | + # - clang-sanitize-safe-stack |
| 30 | + # - gcc-sanitize-address |
| 31 | + # - valgrind |
| 32 | + # - cpack |
| 33 | + # - coverage |
| 34 | + # runs-on: ubuntu-latest |
| 35 | + # steps: |
| 36 | + # - uses: actions/[email protected] |
| 37 | + # with: |
| 38 | + # path: ghaction-cmake |
| 39 | + # - uses: actions/[email protected] |
| 40 | + # with: |
| 41 | + # repository: lpenz/execpermfix |
| 42 | + # path: execpermfix |
| 43 | + # fetch-depth: 0 |
| 44 | + # - uses: ./ghaction-cmake |
| 45 | + # with: |
| 46 | + # preset: ${{ matrix.preset }} |
| 47 | + # working-directory: execpermfix |
48 | 48 | publish-dockerhub: |
49 | | - needs: [ omnilint, test ] |
| 49 | + # needs: [ omnilint, test ] |
50 | 50 | runs-on: ubuntu-latest |
51 | 51 | strategy: |
52 | 52 | fail-fast: false |
53 | 53 | matrix: |
54 | 54 | variant: |
55 | | - # Global default: Debian Bullseye |
56 | | - - base: debian:bullseye |
57 | | - platform: 'linux/386,linux/amd64,linux/arm/v7,linux/arm64' |
58 | | - label: '' |
59 | | - # Global default platforms: Debian Bullseye |
60 | | - - base: debian:bullseye |
61 | | - platform: linux/386 |
62 | | - label: -386 |
63 | | - - base: debian:bullseye |
64 | | - platform: linux/amd64 |
65 | | - label: -amd64 |
66 | | - - base: debian:bullseye |
67 | | - platform: linux/arm/v7 |
68 | | - label: -armv7 |
| 55 | + # # Global default: Debian Bullseye |
| 56 | + # - base: debian:bullseye |
| 57 | + # platform: 'linux/386,linux/amd64,linux/arm/v7,linux/arm64' |
| 58 | + # label: '' |
| 59 | + # # Global default platforms: Debian Bullseye |
| 60 | + # - base: debian:bullseye |
| 61 | + # platform: linux/386 |
| 62 | + # label: -386 |
| 63 | + # - base: debian:bullseye |
| 64 | + # platform: linux/amd64 |
| 65 | + # label: -amd64 |
| 66 | + # - base: debian:bullseye |
| 67 | + # platform: linux/arm/v7 |
| 68 | + # label: -armv7 |
69 | 69 | - base: debian:bullseye |
70 | 70 | platform: linux/arm64 |
71 | 71 | label: -arm64 |
72 | | - # Debian Bullseye platforms: |
73 | | - - base: debian:bullseye |
74 | | - platform: linux/386 |
75 | | - label: -debian-bullseye-386 |
76 | | - - base: debian:bullseye |
77 | | - platform: linux/amd64 |
78 | | - label: -debian-bullseye-amd64 |
79 | | - - base: debian:bullseye |
80 | | - platform: linux/arm/v7 |
81 | | - label: -debian-bullseye-armv7 |
82 | | - - base: debian:bullseye |
83 | | - platform: linux/arm64 |
84 | | - label: -debian-bullseye-arm64 |
85 | | - # Debian Bookworm platforms: |
86 | | - - base: debian:bookworm |
87 | | - platform: linux/386 |
88 | | - label: -debian-bookworm-386 |
89 | | - - base: debian:bookworm |
90 | | - platform: linux/amd64 |
91 | | - label: -debian-bookworm-amd64 |
92 | | - - base: debian:bookworm |
93 | | - platform: linux/arm/v6 |
94 | | - label: -debian-bookworm-armv6 |
95 | | - - base: debian:bookworm |
96 | | - platform: linux/arm/v7 |
97 | | - label: -debian-bookworm-armv7 |
98 | | - - base: debian:bookworm |
99 | | - platform: linux/arm64 |
100 | | - label: -debian-bookworm-arm64 |
101 | | - # Debian Trixie platforms: |
102 | | - - base: debian:trixie |
103 | | - platform: linux/386 |
104 | | - label: -debian-trixie-386 |
105 | | - - base: debian:trixie |
106 | | - platform: linux/amd64 |
107 | | - label: -debian-trixie-amd64 |
108 | | - - base: debian:trixie |
109 | | - platform: linux/arm/v6 |
110 | | - label: -debian-trixie-armv6 |
111 | | - - base: debian:trixie |
112 | | - platform: linux/arm/v7 |
113 | | - label: -debian-trixie-armv7 |
114 | | - - base: debian:trixie |
115 | | - platform: linux/arm64 |
116 | | - label: -debian-trixie-arm64 |
117 | | - # Ubuntu Jammy platforms: |
118 | | - - base: ubuntu:jammy |
119 | | - platform: linux/amd64 |
120 | | - label: -ubuntu-jammy-amd64 |
121 | | - - base: ubuntu:jammy |
122 | | - platform: linux/arm/v7 |
123 | | - label: -ubuntu-jammy-armv7 |
124 | | - - base: ubuntu:jammy |
125 | | - platform: linux/arm64/v8 |
126 | | - label: -ubuntu-jammy-arm64 |
127 | | - # Ubuntu Noble platforms: |
128 | | - - base: ubuntu:noble |
129 | | - platform: linux/amd64 |
130 | | - label: -ubuntu-noble-amd64 |
131 | | - - base: ubuntu:noble |
132 | | - platform: linux/arm/v7 |
133 | | - label: -ubuntu-noble-armv7 |
134 | | - - base: ubuntu:noble |
135 | | - platform: linux/arm64/v8 |
136 | | - label: -ubuntu-noble-arm64 |
137 | | - # Raspbian Bullseye: |
138 | | - - base: lpenz/raspbian-bullseye-armhf |
139 | | - platform: linux/armhf |
140 | | - label: -raspbian-bullseye-armhf |
141 | | - # Raspberry Pi OS Bullseye: |
142 | | - - base: lpenz/rpios-bullseye-armhf |
143 | | - platform: linux/armhf |
144 | | - label: -rpios-bullseye-armhf |
145 | | - - base: lpenz/rpios-bullseye-arm64 |
146 | | - platform: linux/arm64 |
147 | | - label: -rpios-bullseye-arm64 |
| 72 | + # # Debian Bullseye platforms: |
| 73 | + # - base: debian:bullseye |
| 74 | + # platform: linux/386 |
| 75 | + # label: -debian-bullseye-386 |
| 76 | + # - base: debian:bullseye |
| 77 | + # platform: linux/amd64 |
| 78 | + # label: -debian-bullseye-amd64 |
| 79 | + # - base: debian:bullseye |
| 80 | + # platform: linux/arm/v7 |
| 81 | + # label: -debian-bullseye-armv7 |
| 82 | + # - base: debian:bullseye |
| 83 | + # platform: linux/arm64 |
| 84 | + # label: -debian-bullseye-arm64 |
| 85 | + # # Debian Bookworm platforms: |
| 86 | + # - base: debian:bookworm |
| 87 | + # platform: linux/386 |
| 88 | + # label: -debian-bookworm-386 |
| 89 | + # - base: debian:bookworm |
| 90 | + # platform: linux/amd64 |
| 91 | + # label: -debian-bookworm-amd64 |
| 92 | + # - base: debian:bookworm |
| 93 | + # platform: linux/arm/v6 |
| 94 | + # label: -debian-bookworm-armv6 |
| 95 | + # - base: debian:bookworm |
| 96 | + # platform: linux/arm/v7 |
| 97 | + # label: -debian-bookworm-armv7 |
| 98 | + # - base: debian:bookworm |
| 99 | + # platform: linux/arm64 |
| 100 | + # label: -debian-bookworm-arm64 |
| 101 | + # # Debian Trixie platforms: |
| 102 | + # - base: debian:trixie |
| 103 | + # platform: linux/386 |
| 104 | + # label: -debian-trixie-386 |
| 105 | + # - base: debian:trixie |
| 106 | + # platform: linux/amd64 |
| 107 | + # label: -debian-trixie-amd64 |
| 108 | + # - base: debian:trixie |
| 109 | + # platform: linux/arm/v6 |
| 110 | + # label: -debian-trixie-armv6 |
| 111 | + # - base: debian:trixie |
| 112 | + # platform: linux/arm/v7 |
| 113 | + # label: -debian-trixie-armv7 |
| 114 | + # - base: debian:trixie |
| 115 | + # platform: linux/arm64 |
| 116 | + # label: -debian-trixie-arm64 |
| 117 | + # # Ubuntu Jammy platforms: |
| 118 | + # - base: ubuntu:jammy |
| 119 | + # platform: linux/amd64 |
| 120 | + # label: -ubuntu-jammy-amd64 |
| 121 | + # - base: ubuntu:jammy |
| 122 | + # platform: linux/arm/v7 |
| 123 | + # label: -ubuntu-jammy-armv7 |
| 124 | + # - base: ubuntu:jammy |
| 125 | + # platform: linux/arm64/v8 |
| 126 | + # label: -ubuntu-jammy-arm64 |
| 127 | + # # Ubuntu Noble platforms: |
| 128 | + # - base: ubuntu:noble |
| 129 | + # platform: linux/amd64 |
| 130 | + # label: -ubuntu-noble-amd64 |
| 131 | + # - base: ubuntu:noble |
| 132 | + # platform: linux/arm/v7 |
| 133 | + # label: -ubuntu-noble-armv7 |
| 134 | + # - base: ubuntu:noble |
| 135 | + # platform: linux/arm64/v8 |
| 136 | + # label: -ubuntu-noble-arm64 |
| 137 | + # # Raspbian Bullseye: |
| 138 | + # - base: lpenz/raspbian-bullseye-armhf |
| 139 | + # platform: linux/armhf |
| 140 | + # label: -raspbian-bullseye-armhf |
| 141 | + # # Raspberry Pi OS Bullseye: |
| 142 | + # - base: lpenz/rpios-bullseye-armhf |
| 143 | + # platform: linux/armhf |
| 144 | + # label: -rpios-bullseye-armhf |
| 145 | + # - base: lpenz/rpios-bullseye-arm64 |
| 146 | + # platform: linux/arm64 |
| 147 | + # label: -rpios-bullseye-arm64 |
148 | 148 | steps: |
149 | 149 | |
150 | 150 | - id: version |
151 | 151 | uses: docker://lpenz/ghaction-version-gen:0.14.1 |
152 | | - |
| 152 | + - name: install qemu 7.0.0-28 |
| 153 | + run: | |
| 154 | + set -e -x; |
| 155 | + docker run --rm --privileged multiarch/qemu-user-static --reset -p yes -c yes; |
| 156 | + docker pull tonistiigi/binfmt:qemu-v7.0.0-28; |
153 | 157 | |
154 | 158 | |
155 | 159 | with: |
|
0 commit comments