Skip to content

Commit

Permalink
Merge pull request #107 from Sowmya3062/dev
Browse files Browse the repository at this point in the history
update test.yml
  • Loading branch information
neelgala authored Feb 24, 2024
2 parents e24cb24 + efa916d commit 0896f87
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
name: test
on:
pull_request:
branches:
-master
-dev
branches: [ master, dev ]
workflow_dispatch:

jobs:
Expand Down Expand Up @@ -45,7 +43,7 @@ jobs:
set -e
for cgf_file in ./sample_cgfs/*.cgf; do
if [ "$cgf_file" != "./sample_cgfs/dataset.cgf" ]; then
if [[ "$cgf_file" != *rv32e* ]] && [[ "cgf_file" == *rv32* ]] && [ "${{matrix.architecture}}" == "rv32i" ] ; then
if [[ "$cgf_file" != *rv32e* ]] && [[ "$cgf_file" == *rv32* ]] && [ "${{matrix.architecture}}" == "rv32i" ] ; then
cmd="riscv_ctg -r -d ./tests -bi rv32i -cf sample_cgfs/dataset.cgf -cf \"$cgf_file\" -v warning -p \$(nproc)"
echo $cmd
eval $cmd || { echo "Error executing command: $cmd"; exit 1; }
Expand Down Expand Up @@ -87,6 +85,9 @@ jobs:
steps:
- uses: actions/checkout@v2

- uses: actions-ecosystem/action-get-latest-tag@v1
id: get-latest-tag

- name: version check
run: |
export CHNGVER=$(grep -P -o '(?<=## \[).*(?=\])' -m1 CHANGELOG.md);
Expand Down

0 comments on commit 0896f87

Please sign in to comment.