File tree 1 file changed +55
-0
lines changed
1 file changed +55
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : LevelDB Object Pascal
2
+
3
+ defaults :
4
+ run :
5
+ shell : bash
6
+
7
+
8
+ permissions :
9
+ contents : write
10
+
11
+ on :
12
+
13
+ push :
14
+ branches : [ main ]
15
+ tags : [ "*" ]
16
+ paths-ignore : [ "README.md", "LICENSE" ]
17
+
18
+ pull_request :
19
+ branches : [ main ]
20
+
21
+ jobs :
22
+
23
+ build :
24
+ name : Build
25
+ runs-on : ${{ matrix.operating-system }}
26
+
27
+ strategy :
28
+ fail-fast : false
29
+ matrix :
30
+ operating-system : [ ubuntu-20.04, ubuntu-latest, windows-latest]
31
+ lazarus-versions : [ stable]
32
+
33
+ steps :
34
+ - name : Checkout repository
35
+ uses : actions/checkout@v4
36
+ with :
37
+ clean : true
38
+ set-safe-directory : true
39
+
40
+ - name : Install Lazarus
41
+ uses : gcarreno/setup-lazarus@v3
42
+ with :
43
+ lazarus-version : ${{ matrix.lazarus-versions }}
44
+ with-cache : false
45
+
46
+ - name : Install LevelDB for *nix
47
+ if : ${{ matrix.operating-system == 'ubuntu-latest' || matrix.operating-system == 'ubuntu-20.04' }}
48
+ run : sudo apt instal -y libleveldb1n
49
+
50
+ - name : Build Test Application
51
+ run : lazbuild -B --bm=Release "tests/testleveldb.lpi"
52
+
53
+ - name : Run Test Application
54
+ run : |
55
+ bin/testleveldb --all --format=plain
You can’t perform that action at this time.
0 commit comments