@@ -29,12 +29,12 @@ jobs:
2929 repo-name : cppfw
3030 keys-asc : https://gagis.hopto.org/repo/cppfw/pubkey.gpg
3131 install : myci locales git pipx
32- - name : add llvm repo (for clang-format)
33- uses : myci-actions/add-deb-repo@main
34- with :
35- repo : deb http://apt.llvm.org/${{ env.linux_release }} llvm-toolchain-${{ env.linux_release }} main
36- repo-name : llvm
37- keys-asc : https://apt.llvm.org/llvm-snapshot.gpg.key
32+ # - name: add llvm repo (for clang-format)
33+ # uses: myci-actions/add-deb-repo@main
34+ # with:
35+ # repo: deb http://apt.llvm.org/${{ env.linux_release }} llvm-toolchain-${{ env.linux_release }} main
36+ # repo-name: llvm
37+ # keys-asc: https://apt.llvm.org/llvm-snapshot.gpg.key
3838 - name : git clone
3939 uses : myci-actions/checkout@main
4040 - name : prepare debian package
@@ -101,12 +101,12 @@ jobs:
101101 repo-name : cppfw
102102 keys-asc : https://gagis.hopto.org/repo/cppfw/pubkey.gpg
103103 install : myci git python3-pip
104- - name : add llvm repo (for clang-format)
105- uses : myci-actions/add-deb-repo@main
106- with :
107- repo : deb http://apt.llvm.org/${{ matrix.codename }} llvm-toolchain-${{ matrix.codename }} main
108- repo-name : llvm
109- keys-asc : https://apt.llvm.org/llvm-snapshot.gpg.key
104+ # - name: add llvm repo (for clang-format)
105+ # uses: myci-actions/add-deb-repo@main
106+ # with:
107+ # repo: deb http://apt.llvm.org/${{ matrix.codename }} llvm-toolchain-${{ matrix.codename }} main
108+ # repo-name: llvm
109+ # keys-asc: https://apt.llvm.org/llvm-snapshot.gpg.key
110110 - name : install ci tools
111111 run : |
112112 apt install --assume-yes devscripts equivs
@@ -120,6 +120,32 @@ jobs:
120120 run : make config=asan
121121 - name : test
122122 run : make config=asan test
123+ # #### lint #####
124+ lint :
125+ runs-on : ubuntu-latest
126+ container : debian:trixie
127+ name : lint
128+ env :
129+ linux_distro : debian
130+ linux_release : trixie
131+ steps :
132+ - name : add cppfw deb repo
133+ uses : myci-actions/add-deb-repo@main
134+ with :
135+ repo : deb https://gagis.hopto.org/repo/cppfw/${{ env.linux_distro }} ${{ env.linux_release }} main
136+ repo-name : cppfw
137+ keys-asc : https://gagis.hopto.org/repo/cppfw/pubkey.gpg
138+ install : myci locales git devscripts equivs
139+ - name : git clone
140+ uses : myci-actions/checkout@main
141+ - name : prepare debian package
142+ run : myci-deb-prepare.sh
143+ - name : install deps
144+ run : myci-deb-install-build-deps.sh
145+ - name : build
146+ run : make config=lint
147+ - name : test
148+ run : make config=lint test
123149# #### deb linux #####
124150 deb :
125151 strategy :
@@ -137,6 +163,10 @@ jobs:
137163 # - {os: debian, codename: bookworm, image_owner: i386/, labels: [i386,docker]}
138164 - {os: debian, codename: bookworm, image_owner: arm32v7/, labels: [ubuntu-24.04-arm]}
139165 - {os: debian, codename: bookworm, image_owner: arm64v8/, labels: [ubuntu-24.04-arm]}
166+ - {os: debian, codename: trixie, image_owner: }
167+ # - {os: debian, codename: trixie, image_owner: i386/, labels: [i386,docker]}
168+ - {os: debian, codename: trixie, image_owner: arm32v7/, labels: [ubuntu-24.04-arm]}
169+ - {os: debian, codename: trixie, image_owner: arm64v8/, labels: [ubuntu-24.04-arm]}
140170 # - {os: ubuntu, codename: focal, image_owner: }
141171 # - {os: ubuntu, codename: jammy, image_owner: }
142172 - {os: ubuntu, codename: noble, image_owner: }
@@ -158,12 +188,12 @@ jobs:
158188 repo-name : cppfw
159189 keys-asc : https://gagis.hopto.org/repo/cppfw/pubkey.gpg
160190 install : myci git python3-pip devscripts equivs
161- - name : add llvm repo (for clang-format)
162- uses : myci-actions/add-deb-repo@main
163- with :
164- repo : deb http://apt.llvm.org/${{ matrix.codename }} llvm-toolchain-${{ matrix.codename }} main
165- repo-name : llvm
166- keys-asc : https://apt.llvm.org/llvm-snapshot.gpg.key
191+ # - name: add llvm repo (for clang-format)
192+ # uses: myci-actions/add-deb-repo@main
193+ # with:
194+ # repo: deb http://apt.llvm.org/${{ matrix.codename }} llvm-toolchain-${{ matrix.codename }} main
195+ # repo-name: llvm
196+ # keys-asc: https://apt.llvm.org/llvm-snapshot.gpg.key
167197 - name : git clone
168198 uses : myci-actions/checkout@main
169199 - name : set PACKAGE_VERSION
@@ -539,13 +569,13 @@ jobs:
539569 container : ${{ matrix.image_owner }}${{ matrix.os }}:${{ matrix.codename }}
540570 name : conan - linux | ${{ matrix.image_owner }}
541571 steps :
542- - name : add llvm repo (for clang-format)
543- uses : myci-actions/add-deb-repo@main
544- with :
545- repo : deb http://apt.llvm.org/${{ matrix.codename }} llvm-toolchain-${{ matrix.codename }} main
546- repo-name : llvm
547- keys-asc : https://apt.llvm.org/llvm-snapshot.gpg.key
548- install : clang-format clang-tidy
572+ # - name: add llvm repo (for clang-format)
573+ # uses: myci-actions/add-deb-repo@main
574+ # with:
575+ # repo: deb http://apt.llvm.org/${{ matrix.codename }} llvm-toolchain-${{ matrix.codename }} main
576+ # repo-name: llvm
577+ # keys-asc: https://apt.llvm.org/llvm-snapshot.gpg.key
578+ # install: clang-format clang-tidy
549579 - name : add cppfw deb repo
550580 uses : myci-actions/add-deb-repo@main
551581 with :
0 commit comments