@@ -190,6 +190,29 @@ jobs:
190
190
run : |
191
191
./dev/docker/run ./dev/dev lint
192
192
193
+ run-smoke-tests :
194
+ name : " Smoke tests"
195
+ needs : [ build-cli ]
196
+ runs-on : ubuntu-24.04
197
+
198
+ steps :
199
+ - name : " Checkout code"
200
+ uses : actions/checkout@v4
201
+ with :
202
+ fetch-depth : 1
203
+ submodules : true
204
+
205
+ - name : " Download build artifacts"
206
+ uses : actions/download-artifact@v4
207
+ with :
208
+ pattern : pangraph-*
209
+ merge-multiple : true
210
+ path : " .out"
211
+
212
+ - name : " Run smoke tests"
213
+ run : |
214
+ chmod +x ./.out/pangraph-x86_64-unknown-linux-gnu
215
+ ./dev/run-smoke-tests ./.out/pangraph-x86_64-unknown-linux-gnu --fast
193
216
194
217
195
218
run-compat-tests-x86_64-unknown-linux-gnu :
@@ -366,77 +389,77 @@ jobs:
366
389
git -c color.ui=always diff --exit-code 'docs/docs/reference.md' || (echo "Looks like command-line interface has changed, but the autogenerated CLI reference documentation at 'docs/docs/reference.md' is not up-to-date. Please build the fresh version of pangraph, then run 'cd docs && ./generate-reference-docs <path_to_pangraph> docs/docs/reference.md', then verify and commit changes to the file docs/docs/reference.md." >&2; exit 1)
367
390
368
391
369
- publish-to-github-releases :
370
- name : " Publish to GitHub Releases"
371
- needs : [ build-cli, run-unit-tests, run-lints, run-smoke-tests, run-linux-distros-test , check-cli-docs ]
372
- if : endsWith(github.ref, '/release-cli')
373
- runs-on : ubuntu-24.04
374
-
375
- steps :
376
- - name : " Checkout code"
377
- uses : actions/checkout@v4
378
- with :
379
- fetch-depth : 1
380
- submodules : true
381
-
382
- - name : " Download build artifacts"
383
- uses : actions/download-artifact@v4
384
- with :
385
- pattern : pangraph-*
386
- merge-multiple : true
387
- path : " .out"
388
-
389
- - name : " Install deploy dependencies"
390
- run : |
391
- mkdir -p "${HOME}/bin"
392
- curl -fsSL "https://github.com/cli/cli/releases/download/v2.10.1/gh_2.10.1_linux_amd64.tar.gz" | tar xz -C "${HOME}/bin" --strip-components=2 gh_2.10.1_linux_amd64/bin/gh
393
- curl -fsSL "https://github.com/TomWright/dasel/releases/download/v2.8.1/dasel_linux_amd64" -o "${HOME}/bin/dasel" && chmod +x "${HOME}/bin/dasel"
394
- curl -fsSL "https://github.com/stedolan/jq/releases/download/jq-1.7.1/jq-linux64" -o ${HOME}/bin/jq && chmod +x ${HOME}/bin/jq
395
-
396
- - name : " Publish build artifacts to GitHub releases"
397
- run : |
398
- export PATH="${PATH}:${HOME}/bin"
399
- export GITHUB_TOKEN="${{ secrets.NEHERLAB_BOT_GITHUB_TOKEN }}"
400
- ./dev/publish-github \
401
- --artifacts_dir ".out" \
402
- --repo "${{ github.repository }}" \
403
- --git_sha "${{ github.sha }}"
404
-
405
-
406
- publish-to-docker-hub :
407
- name : " Publish to Docker Hub"
408
- needs : [ build-cli, run-unit-tests, run-lints, run-smoke-tests, run-linux-distros-test , check-cli-docs ]
409
- if : endsWith(github.ref, '/release-cli')
410
- runs-on : ubuntu-24.04
411
-
412
- steps :
413
- - name : " Checkout code"
414
- uses : actions/checkout@v4
415
- with :
416
- fetch-depth : 1
417
- submodules : true
418
-
419
- - name : " Download build artifacts"
420
- uses : actions/download-artifact@v4
421
- with :
422
- pattern : pangraph-*
423
- merge-multiple : true
424
- path : " .out"
425
-
426
- - name : " Install deploy dependencies"
427
- run : |
428
- mkdir -p "${HOME}/bin"
429
- curl -fsSL "https://github.com/TomWright/dasel/releases/download/v2.8.1/dasel_linux_amd64" -o "${HOME}/bin/dasel" && chmod +x "${HOME}/bin/dasel"
430
-
431
- - name : " Login to Docker Hub"
432
- uses : docker/login-action@v3
433
- with :
434
- registry : docker.io
435
- username : ${{ secrets.NEHERLAB_BOT_DOCKERHUB_USERNAME }}
436
- password : ${{ secrets.NEHERLAB_BOT_DOCKERHUB_TOKEN }}
437
-
438
- - name : " Build and publish Docker container images to Docker Hub"
439
- run : |
440
- export PATH="${PATH}:${HOME}/bin"
441
- chmod +x ./.out/*
442
- ./dev/publish-docker --push
392
+ # publish-to-github-releases:
393
+ # name: "Publish to GitHub Releases"
394
+ # needs: [ build-cli, run-unit-tests, run-lints, run-smoke-tests, run-compat-tests-x86_64-unknown- linux-gnu, run-compat-tests-x86_64-unknown-linux-musl, run-compat-tests-x86_64-apple-darwin, run-compat-tests-aarch64-apple-darwin, run-compat-tests-x86_64-pc-windows-gnu , check-cli-docs ]
395
+ # if: endsWith(github.ref, '/release-cli')
396
+ # runs-on: ubuntu-24.04
397
+ #
398
+ # steps:
399
+ # - name: "Checkout code"
400
+ # uses: actions/checkout@v4
401
+ # with:
402
+ # fetch-depth: 1
403
+ # submodules: true
404
+ #
405
+ # - name: "Download build artifacts"
406
+ # uses: actions/download-artifact@v4
407
+ # with:
408
+ # pattern: pangraph-*
409
+ # merge-multiple: true
410
+ # path: ".out"
411
+ #
412
+ # - name: "Install deploy dependencies"
413
+ # run: |
414
+ # mkdir -p "${HOME}/bin"
415
+ # curl -fsSL "https://github.com/cli/cli/releases/download/v2.10.1/gh_2.10.1_linux_amd64.tar.gz" | tar xz -C "${HOME}/bin" --strip-components=2 gh_2.10.1_linux_amd64/bin/gh
416
+ # curl -fsSL "https://github.com/TomWright/dasel/releases/download/v2.8.1/dasel_linux_amd64" -o "${HOME}/bin/dasel" && chmod +x "${HOME}/bin/dasel"
417
+ # curl -fsSL "https://github.com/stedolan/jq/releases/download/jq-1.7.1/jq-linux64" -o ${HOME}/bin/jq && chmod +x ${HOME}/bin/jq
418
+ #
419
+ # - name: "Publish build artifacts to GitHub releases"
420
+ # run: |
421
+ # export PATH="${PATH}:${HOME}/bin"
422
+ # export GITHUB_TOKEN="${{ secrets.NEHERLAB_BOT_GITHUB_TOKEN }}"
423
+ # ./dev/publish-github \
424
+ # --artifacts_dir ".out" \
425
+ # --repo "${{ github.repository }}" \
426
+ # --git_sha "${{ github.sha }}"
427
+ #
428
+ #
429
+ # publish-to-docker-hub:
430
+ # name: "Publish to Docker Hub"
431
+ # needs: [ build-cli, run-unit-tests, run-lints, run-smoke-tests, run-compat-tests-x86_64-unknown- linux-gnu, run-compat-tests-x86_64-unknown-linux-musl, run-compat-tests-x86_64-apple-darwin, run-compat-tests-aarch64-apple-darwin, run-compat-tests-x86_64-pc-windows-gnu , check-cli-docs ]
432
+ # if: endsWith(github.ref, '/release-cli')
433
+ # runs-on: ubuntu-24.04
434
+ #
435
+ # steps:
436
+ # - name: "Checkout code"
437
+ # uses: actions/checkout@v4
438
+ # with:
439
+ # fetch-depth: 1
440
+ # submodules: true
441
+ #
442
+ # - name: "Download build artifacts"
443
+ # uses: actions/download-artifact@v4
444
+ # with:
445
+ # pattern: pangraph-*
446
+ # merge-multiple: true
447
+ # path: ".out"
448
+ #
449
+ # - name: "Install deploy dependencies"
450
+ # run: |
451
+ # mkdir -p "${HOME}/bin"
452
+ # curl -fsSL "https://github.com/TomWright/dasel/releases/download/v2.8.1/dasel_linux_amd64" -o "${HOME}/bin/dasel" && chmod +x "${HOME}/bin/dasel"
453
+ #
454
+ # - name: "Login to Docker Hub"
455
+ # uses: docker/login-action@v3
456
+ # with:
457
+ # registry: docker.io
458
+ # username: ${{ secrets.NEHERLAB_BOT_DOCKERHUB_USERNAME }}
459
+ # password: ${{ secrets.NEHERLAB_BOT_DOCKERHUB_TOKEN }}
460
+ #
461
+ # - name: "Build and publish Docker container images to Docker Hub"
462
+ # run: |
463
+ # export PATH="${PATH}:${HOME}/bin"
464
+ # chmod +x ./.out/*
465
+ # ./dev/publish-docker --push
0 commit comments