Skip to content

Commit

Permalink
upgrade to .NET 6.0 (boogie-org#470)
Browse files Browse the repository at this point in the history
Co-authored-by: Remy Willems <[email protected]>
  • Loading branch information
shazqadeer and keyboardDrummer authored Dec 14, 2021
1 parent 91ec795 commit 35cc032
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- name: Setup dotnet
uses: actions/setup-dotnet@v1
with:
dotnet-version: '5.0.x'
dotnet-version: '6.0.x'
- name: Checkout Boogie
uses: actions/checkout@v2
with:
Expand Down
2 changes: 1 addition & 1 deletion Source/Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<!-- Target framework and package configuration -->
<PropertyGroup>
<Version>2.11.1</Version>
<TargetFramework>net5.0</TargetFramework>
<TargetFramework>net6.0</TargetFramework>
<GeneratePackageOnBuild>false</GeneratePackageOnBuild>
<Authors>Boogie</Authors>
<RepositoryUrl>https://github.com/boogie-org/boogie</RepositoryUrl>
Expand Down
4 changes: 2 additions & 2 deletions Test/lit.site.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -78,13 +78,13 @@ repositoryRoot = up(up(os.path.abspath(__file__)))
lit_config.note('Repository root is {}'.format(repositoryRoot))

configuration = lit_config.params.get('configuration', 'Debug')
framework = lit_config.params.get('framework', 'net5.0')
framework = lit_config.params.get('framework', 'net6.0')

boogieBinary = 'Source/BoogieDriver/bin/{}/{}/BoogieDriver.dll'.format(configuration, framework)
runtime = 'dotnet'

boogieExecutable = os.path.join(repositoryRoot, boogieBinary)

if not os.path.exists(boogieExecutable):
lit_config.fatal('Could not find Boogie executable at {}'.format(boogieExecutable))
if runtime and lit.util.which(runtime) == None:
Expand Down
2 changes: 1 addition & 1 deletion dotnet-tools.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"isRoot": true,
"tools": {
"cocor": {
"version": "2014.12.23",
"version": "2014.12.24",
"commands": [
"coco"
]
Expand Down

0 comments on commit 35cc032

Please sign in to comment.