Skip to content

Commit

Permalink
add proof-producer-debug-gcc check in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreyMlashkin committed Dec 13, 2024
1 parent aaa4d94 commit 3605146
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/gcc-debug-proof-producer-nix-check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Build and Test on Linux Platforms

on:
workflow_call:

jobs:
build-and-test:
name: "Build and test Linux with gcc"
runs-on: [self-hosted, Linux, X64, aws_autoscaling]
steps:
# https://github.com/actions/checkout/issues/1552
- name: Clean up after previous checkout
run: chmod +w -R ${GITHUB_WORKSPACE}; rm -rf ${GITHUB_WORKSPACE}/*;

- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Run checks for debug proof-producer
run: |
nix build -L .?#checks.x86_64-linux.proof-producer-debug-tests
- name: Publish Test Results
uses: EnricoMi/publish-unit-test-result-action/linux@v2
with:
check_name: "Proof-producer Debug Test Results"
files: "results/*.xml"
comment_mode: ${{ github.event.pull_request.head.repo.fork && 'off' || 'always' }} # Don't create PR comment from fork runs
action_fail_on_inconclusive: true # fail, if no reports

7 changes: 7 additions & 0 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,13 @@ jobs:
always() && !cancelled()
secrets: inherit

test-linux-clang:
name: Linux proof-producer testing with debug gcc
uses: ./.github/workflows/gcc-debug-proof-producer-nix-check.yml
if: |
always() && !cancelled()
secrets: inherit

check-proof-producer:
name: Check Proof Producer
uses: ./.github/workflows/check-proof-producer.yml
Expand Down

0 comments on commit 3605146

Please sign in to comment.