@@ -204,110 +204,110 @@ jobs:
204
204
if : startsWith(github.ref, 'refs/tags/')
205
205
206
206
# #### conan - linux #####
207
- conan-linux :
208
- strategy :
209
- fail-fast : false
210
- matrix :
211
- include :
212
- - {os: debian, codename: bookworm, image_owner: }
213
- # - {os: debian, codename: bookworm, image_owner: i386/, labels: [i386,docker]}
214
- - {os: debian, codename: bookworm, image_owner: , labels: [arm32,docker]}
215
- - {os: debian, codename: bookworm, image_owner: , labels: [arm64,docker]}
216
- runs-on : ${{ (matrix.labels == '' && 'ubuntu-latest') || matrix.labels }}
217
- container : ${{ matrix.image_owner }}${{ matrix.os }}:${{ matrix.codename }}
218
- name : conan - linux | ${{ matrix.labels[0] }}
219
- steps :
220
- - name : add llvm repo (for clang-format)
221
- uses : myci-actions/add-deb-repo@main
222
- with :
223
- repo : deb http://apt.llvm.org/${{ matrix.codename }} llvm-toolchain-${{ matrix.codename }} main
224
- repo-name : llvm
225
- keys-asc : https://apt.llvm.org/llvm-snapshot.gpg.key
226
- install : clang-format clang-tidy
227
- - name : add cppfw deb repo
228
- uses : myci-actions/add-deb-repo@main
229
- with :
230
- repo : deb https://gagis.hopto.org/repo/cppfw/${{ matrix.os }} ${{ matrix.codename }} main
231
- repo-name : cppfw
232
- keys-asc : https://gagis.hopto.org/repo/cppfw/pubkey.gpg
233
- install : devscripts equivs myci pipx cmake git pkg-config
234
- - name : add ~/.local/bin to PATH
235
- uses : myci-actions/export-env-var@main
236
- with : {name: PATH, value: "$PATH:$HOME/.local/bin"}
237
- - name : install conan
238
- run : pipx install conan
239
- - name : create default conan profile
240
- run : |
241
- conan profile detect --name default
242
- sed -i -E "s/compiler.cppstd=.*$/compiler.cppstd=17/g" ~/.conan2/profiles/default
243
- - name : git clone
244
- uses : myci-actions/checkout@main
245
- - name : set PACKAGE_VERSION
246
- uses : myci-actions/export-env-var@main
247
- with : {name: PACKAGE_VERSION, value: $(myci-deb-version.sh debian/changelog)}
248
- if : startsWith(github.ref, 'refs/tags/')
249
- - name : build
250
- run : |
251
- conan remote add cppfw $MYCI_CONAN_REMOTE
252
- conan create conan --build=missing --conf tools.system.package_manager:mode=install --user $MYCI_CONAN_USER --channel main --version $PACKAGE_VERSION
253
- - name : deploy conan package
254
- run : |
255
- conan remote login --password $MYCI_CONAN_PASSWORD cppfw $MYCI_CONAN_USER
256
- conan upload --check --remote cppfw $PACKAGE_NAME/$PACKAGE_VERSION@$MYCI_CONAN_USER/main
257
- if : startsWith(github.ref, 'refs/tags/')
207
+ # conan-linux:
208
+ # strategy:
209
+ # fail-fast: false
210
+ # matrix:
211
+ # include:
212
+ # - {os: debian, codename: bookworm, image_owner: }
213
+ # # - {os: debian, codename: bookworm, image_owner: i386/, labels: [i386,docker]}
214
+ # - {os: debian, codename: bookworm, image_owner: , labels: [arm32,docker]}
215
+ # - {os: debian, codename: bookworm, image_owner: , labels: [arm64,docker]}
216
+ # runs-on: ${{ (matrix.labels == '' && 'ubuntu-latest') || matrix.labels }}
217
+ # container: ${{ matrix.image_owner }}${{ matrix.os }}:${{ matrix.codename }}
218
+ # name: conan - linux | ${{ matrix.labels[0] }}
219
+ # steps:
220
+ # - name: add llvm repo (for clang-format)
221
+ # uses: myci-actions/add-deb-repo@main
222
+ # with:
223
+ # repo: deb http://apt.llvm.org/${{ matrix.codename }} llvm-toolchain-${{ matrix.codename }} main
224
+ # repo-name: llvm
225
+ # keys-asc: https://apt.llvm.org/llvm-snapshot.gpg.key
226
+ # install: clang-format clang-tidy
227
+ # - name: add cppfw deb repo
228
+ # uses: myci-actions/add-deb-repo@main
229
+ # with:
230
+ # repo: deb https://gagis.hopto.org/repo/cppfw/${{ matrix.os }} ${{ matrix.codename }} main
231
+ # repo-name: cppfw
232
+ # keys-asc: https://gagis.hopto.org/repo/cppfw/pubkey.gpg
233
+ # install: devscripts equivs myci pipx cmake git pkg-config
234
+ # - name: add ~/.local/bin to PATH
235
+ # uses: myci-actions/export-env-var@main
236
+ # with: {name: PATH, value: "$PATH:$HOME/.local/bin"}
237
+ # - name: install conan
238
+ # run: pipx install conan
239
+ # - name: create default conan profile
240
+ # run: |
241
+ # conan profile detect --name default
242
+ # sed -i -E "s/compiler.cppstd=.*$/compiler.cppstd=17/g" ~/.conan2/profiles/default
243
+ # - name: git clone
244
+ # uses: myci-actions/checkout@main
245
+ # - name: set PACKAGE_VERSION
246
+ # uses: myci-actions/export-env-var@main
247
+ # with: {name: PACKAGE_VERSION, value: $(myci-deb-version.sh debian/changelog)}
248
+ # if: startsWith(github.ref, 'refs/tags/')
249
+ # - name: build
250
+ # run: |
251
+ # conan remote add cppfw $MYCI_CONAN_REMOTE
252
+ # conan create conan --build=missing --conf tools.system.package_manager:mode=install --user $MYCI_CONAN_USER --channel main --version $PACKAGE_VERSION
253
+ # - name: deploy conan package
254
+ # run: |
255
+ # conan remote login --password $MYCI_CONAN_PASSWORD cppfw $MYCI_CONAN_USER
256
+ # conan upload --check --remote cppfw $PACKAGE_NAME/$PACKAGE_VERSION@$MYCI_CONAN_USER/main
257
+ # if: startsWith(github.ref, 'refs/tags/')
258
258
# #### conan - macosx #####
259
- conan-macosx :
260
- strategy :
261
- fail-fast : false
262
- matrix :
263
- os :
264
- # - macos-10.15
265
- # - macos-11
266
- # - macos-12
267
- - macos-latest
268
- name : conan - ${{ matrix.os }}
269
- runs-on : ${{ matrix.os }}
270
- steps :
271
- - name : workaround python2 and python3 issue when upgrading python
272
- run : |
273
- rm -rf /usr/local/bin/2to3*
274
- rm -rf /usr/local/bin/idle3*
275
- rm -rf /usr/local/bin/pydoc3*
276
- rm -rf /usr/local/bin/python3
277
- rm -rf /usr/local/bin/python3-config
278
- rm -rf /usr/local/bin/python3*
279
- rm -rf /usr/local/bin/python3*-config
280
- - name : install clang-tidy and clang-format
281
- run : |
282
- brew install llvm
283
- ln -s "$(brew --prefix llvm)/bin/clang-format" "/usr/local/bin/clang-format"
284
- ln -s "$(brew --prefix llvm)/bin/clang-tidy" "/usr/local/bin/clang-tidy"
285
- ln -s "$(brew --prefix llvm)/bin/clang-apply-replacements" "/usr/local/bin/clang-apply-replacements"
286
- - name : git clone
287
- uses : myci-actions/checkout@main
288
- - name : add cppfw tap
289
- run : |
290
- brew tap cppfw/tap
291
- brew update
292
- - name : install ci tools
293
- run : brew install myci conan
294
- - name : create default conan profile
295
- run : |
296
- conan profile detect --name default
297
- sed -i -E "s/compiler.cppstd=.*$/compiler.cppstd=17/g" ~/.conan2/profiles/default
298
- - name : set PACKAGE_VERSION
299
- uses : myci-actions/export-env-var@main
300
- with : {name: PACKAGE_VERSION, value: $(myci-deb-version.sh debian/changelog)}
301
- if : startsWith(github.ref, 'refs/tags/')
302
- - name : build
303
- run : |
304
- conan remote add cppfw $MYCI_CONAN_REMOTE
305
- conan create conan --build=missing --user $MYCI_CONAN_USER --channel main --version $PACKAGE_VERSION
306
- - name : deploy conan package
307
- run : |
308
- conan remote login --password $MYCI_CONAN_PASSWORD cppfw $MYCI_CONAN_USER
309
- conan upload --check --remote cppfw $PACKAGE_NAME/$PACKAGE_VERSION@$MYCI_CONAN_USER/main
310
- if : startsWith(github.ref, 'refs/tags/')
259
+ # conan-macosx:
260
+ # strategy:
261
+ # fail-fast: false
262
+ # matrix:
263
+ # os:
264
+ # # - macos-10.15
265
+ # # - macos-11
266
+ # # - macos-12
267
+ # - macos-latest
268
+ # name: conan - ${{ matrix.os }}
269
+ # runs-on: ${{ matrix.os }}
270
+ # steps:
271
+ # - name: workaround python2 and python3 issue when upgrading python
272
+ # run : |
273
+ # rm -rf /usr/local/bin/2to3*
274
+ # rm -rf /usr/local/bin/idle3*
275
+ # rm -rf /usr/local/bin/pydoc3*
276
+ # rm -rf /usr/local/bin/python3
277
+ # rm -rf /usr/local/bin/python3-config
278
+ # rm -rf /usr/local/bin/python3*
279
+ # rm -rf /usr/local/bin/python3*-config
280
+ # - name: install clang-tidy and clang-format
281
+ # run: |
282
+ # brew install llvm
283
+ # ln -s "$(brew --prefix llvm)/bin/clang-format" "/usr/local/bin/clang-format"
284
+ # ln -s "$(brew --prefix llvm)/bin/clang-tidy" "/usr/local/bin/clang-tidy"
285
+ # ln -s "$(brew --prefix llvm)/bin/clang-apply-replacements" "/usr/local/bin/clang-apply-replacements"
286
+ # - name: git clone
287
+ # uses: myci-actions/checkout@main
288
+ # - name: add cppfw tap
289
+ # run: |
290
+ # brew tap cppfw/tap
291
+ # brew update
292
+ # - name: install ci tools
293
+ # run: brew install myci conan
294
+ # - name: create default conan profile
295
+ # run: |
296
+ # conan profile detect --name default
297
+ # sed -i -E "s/compiler.cppstd=.*$/compiler.cppstd=17/g" ~/.conan2/profiles/default
298
+ # - name: set PACKAGE_VERSION
299
+ # uses: myci-actions/export-env-var@main
300
+ # with: {name: PACKAGE_VERSION, value: $(myci-deb-version.sh debian/changelog)}
301
+ # if: startsWith(github.ref, 'refs/tags/')
302
+ # - name: build
303
+ # run: |
304
+ # conan remote add cppfw $MYCI_CONAN_REMOTE
305
+ # conan create conan --build=missing --user $MYCI_CONAN_USER --channel main --version $PACKAGE_VERSION
306
+ # - name: deploy conan package
307
+ # run: |
308
+ # conan remote login --password $MYCI_CONAN_PASSWORD cppfw $MYCI_CONAN_USER
309
+ # conan upload --check --remote cppfw $PACKAGE_NAME/$PACKAGE_VERSION@$MYCI_CONAN_USER/main
310
+ # if: startsWith(github.ref, 'refs/tags/')
311
311
312
312
# #### conan - emscripten #####
313
313
# conan-emscripten:
0 commit comments