Skip to content

Commit

Permalink
more flexible moreJoins
Browse files Browse the repository at this point in the history
  • Loading branch information
jcp19 committed Apr 17, 2024
1 parent e9d1162 commit d2110f8
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
includePaths: 'test/include_path'
timeout: 2m
conditionalizePermissions: '1'
# disableNL: '1'
# disableNL: '1'
- name: Verify chopped Gobra files
uses: ./
with:
Expand All @@ -48,6 +48,7 @@ jobs:
uses: ./
with:
packages: 'test/packages_test/test1/'
moreJoins: 'impure'
timeout: 2m
- name: Verify Gobra files (recursive mode)
uses: ./
Expand Down
4 changes: 2 additions & 2 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,9 +91,9 @@ inputs:
required: false
default: '0'
moreJoins:
description: 'Use a more complete state merging algorithm.'
description: 'Specifies if silicon should be run with more joins completely enabled ("all"), disabled ("off"), or only for impure conditionals ("impure").'
required: false
default: '0'
default: 'off'
unsafeWildcardOptimization:
description: "Perform the optimization described in silicon's PR #756. You must ensure that the necessary conditions for the optimization are met."
required: false
Expand Down
4 changes: 1 addition & 3 deletions docker-action/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -129,9 +129,7 @@ if [[ $INPUT_CONDITIONALIZEPERMISSIONS -eq 1 ]]; then
GOBRA_ARGS="$GOBRA_ARGS --conditionalizePermissions"
fi

if [[ $INPUT_MOREJOINS -eq 1 ]]; then
GOBRA_ARGS="$GOBRA_ARGS --moreJoins"
fi
GOBRA_ARGS="$GOBRA_ARGS --moreJoins $INPUT_MOREJOINS"

if [[ $INPUT_OVERFLOW -eq 1 ]]; then
GOBRA_ARGS="$GOBRA_ARGS --overflow"
Expand Down

0 comments on commit d2110f8

Please sign in to comment.