Build and Test Project #9
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build and Test Project | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
types: [ opened, reopened, edited ] | |
workflow_dispatch: | |
jobs: | |
verify: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Copy AGREE Analysis Action | |
uses: actions/checkout@v4 | |
with: | |
repository: loonwerks/AGREE-CI-Action | |
path: AGREE-CI-Action | |
- name: AGREE Analysis | |
id : agree | |
uses: ./AGREE-CI-Action | |
with: | |
project-name: AGREE-Toy-Example | |
component-to-analyze: Integer_Toy::top_level.Impl | |
analysis-strategy: single | |
- name: Get analysis timestamp | |
run: echo "Analysis timestamp is ${{ steps.agree.outputs.timestamp }}" | |
- name: Get analysis status | |
run: echo "Analysis status is ${{ steps.agree.outputs.status }}" | |
- name: Get analysis status-messages | |
run: echo "Analysis status messages are ${{ steps.agree.outputs.status-messages }}" | |
- name: Archive analysis results | |
uses: actions/upload-artifact@v4 | |
with: | |
name: agree-analysis-report | |
path: AGREE_output.json | |
retention-days: 30 | |