Skip to content

Commit

Permalink
[actions] (COMPLETE 1ST PART OF ACTIONS) in .github/workflows/testsui…
Browse files Browse the repository at this point in the history
…te, disable comparison of generated code to current repo
  • Loading branch information
valassi committed Nov 4, 2023
1 parent b65399d commit 371b2d2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/testsuite_oneprocess.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ function codegen() {
./CODEGEN/generateAndCompare.sh -q ${proc%.sa}
fi
# Check if there are any differences to the current repo
compare=true # enable comparison to current git repo
###compare=false # disable comparison to current git repo
###compare=true # enable comparison to current git repo
compare=false # disable comparison to current git repo
if [ ${compare} ] && [ "$(git ls-tree --name-only HEAD ${proc})" != "" ]; then
git checkout HEAD ${proc}/CODEGEN*.txt
if [ "${proc%.mad}" != "${proc}" ]; then
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/testsuite_oneprocess.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,9 @@ jobs:
with:
submodules: 'true'

- name: WELCOME
- name: HELLO
run: |
echo "WELCOME ${{ inputs.process }}! $(date)"
echo "HELLO ${{ inputs.process }}! $(date)"
echo "Current directory is $(pwd)"
echo "Current git commit is $(git log --oneline -n1 | cut -d' ' -f1)"
# See https://github.com/actions/cache/blob/main/tips-and-workarounds.md#force-deletion-of-caches-overriding-default-cache-eviction-policy
Expand Down

0 comments on commit 371b2d2

Please # to comment.