Skip to content

Commit 02cf58d

Browse files
authored
CI (#92)
* Run VSharp building on pull request and push. * Refresh versions. * Setup dotnet7. * Build in Release mode.
1 parent 6b59816 commit 02cf58d

File tree

1 file changed

+14
-6
lines changed

1 file changed

+14
-6
lines changed

.github/workflows/build_vsharp.yml

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,39 @@
11
name: 'Build VSharp'
22

33
on:
4-
workflow_call
4+
[workflow_call, pull_request, push]
55

66
jobs:
77
build:
88
runs-on: ubuntu-22.04
99
steps:
10+
- uses: actions/setup-dotnet@v4
11+
with:
12+
dotnet-version: '7.0.x'
13+
1014
- name: Checkout VSharp
11-
uses: actions/checkout@v3
15+
uses: actions/checkout@v4
1216
with:
1317
submodules: false
14-
- uses: actions/cache@v3
18+
19+
- uses: actions/cache@v4
1520
id: nuget-cache
1621
with:
1722
path: ~/.nuget/packages
1823
key: ${{ runner.os }}-nuget-${{ hashFiles('**/*.csproj', '**/*.fsproj') }}
1924
restore-keys: |
2025
${{ runner.os }}-nuget-
26+
2127
- name: Build VSharp
2228
run:
23-
dotnet build -c DebugTailRec
24-
- uses: actions/upload-artifact@v3
29+
dotnet build -c Release
30+
31+
- uses: actions/upload-artifact@v4
2532
with:
2633
name: runner
2734
path: ./VSharp.Runner/bin/DebugTailRec/net7.0
28-
- uses: actions/upload-artifact@v3
35+
36+
- uses: actions/upload-artifact@v4
2937
with:
3038
name: test_runner
3139
path: ./VSharp.TestRunner/bin/DebugTailRec/net7.0

0 commit comments

Comments
 (0)