Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

more flexible moreJoins #28

Merged
merged 1 commit into from
Apr 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading