Skip to content

Commit 956f334

Browse files
committed
Update build and test script
1 parent 242f6ec commit 956f334

File tree

2 files changed

+18
-10
lines changed

2 files changed

+18
-10
lines changed

azure-pipelines-linux.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,23 @@ pool:
2222
vmImage: ubuntu-22.04
2323

2424
steps:
25+
- script: sudo apt update && sudo apt install -y g++ cmake libssl-dev
26+
displayName: 'Install dependencies'
27+
28+
- task: UseDotNet@2
29+
inputs:
30+
packageType: 'sdk'
31+
version: '7.0.x'
32+
includePreviewVersions: false
33+
displayName: 'Use .NET 7.0 SDK'
34+
35+
- script: |
36+
lsb_release -a
37+
uname -a
38+
make --version
39+
g++ --version
40+
dotnet --list-sdks
41+
displayName: 'Print System Info'
42+
2543
- bash: tools/build.sh
2644
displayName: 'Build Graph Engine'

tools/build.sh

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,6 @@
22

33
if [ "$REPO_ROOT" == "" ] ; then REPO_ROOT="$(readlink -f $(dirname $(readlink -f $0))/../)" ; fi
44

5-
sudo apt update
6-
sudo apt install -y g++ cmake libssl-dev dotnet-sdk-7.0
7-
8-
echo "Print system info:"
9-
lsb_release -a
10-
uname -a
11-
make --version
12-
g++ --version
13-
dotnet --list-sdks
14-
155
if [ "$(command -v cmake)" == "" ] ;
166
then
177
echo "error: cmake not found." 1>&2

0 commit comments

Comments
 (0)