File tree Expand file tree Collapse file tree 3 files changed +10
-8
lines changed Expand file tree Collapse file tree 3 files changed +10
-8
lines changed Original file line number Diff line number Diff line change @@ -55,16 +55,13 @@ jobs:
55
55
56
56
valgrind :
57
57
runs-on : ubuntu-20.04
58
- container :
59
- image : google/dart:latest
60
58
steps :
59
+ - uses : dart-lang/setup-dart@v1
61
60
- uses : actions/checkout@v1
62
61
- name : Install ObjectBox C-API
63
62
run : ./install.sh
64
63
- name : Install Valgrind
65
- run : |
66
- apt update
67
- apt install -y valgrind
64
+ run : ./tool/apt-install.sh valgrind
68
65
- name : Test
69
66
working-directory : objectbox
70
67
# let tests know we want a faster/shorter version, if available (to prevent timeouts in CI)
93
90
channel : ${{ matrix.channel }}
94
91
- run : echo $PATH
95
92
- run : flutter --version
96
- - if : ${{ startsWith(matrix.os, 'ubuntu') }}
97
- run : sudo apt-get install ninja-build pkg-config libgtk-3-dev
98
93
- uses : actions/checkout@v2
94
+ - if : ${{ startsWith(matrix.os, 'ubuntu') }}
95
+ run : ./tool/apt-install.sh ninja-build pkg-config libgtk-3-dev
99
96
- run : make integration-test
100
97
working-directory : objectbox
Original file line number Diff line number Diff line change 42
42
- name : Generage test coverage
43
43
working-directory : objectbox
44
44
run : |
45
- sudo apt-get install lcov
45
+ ../tool/ apt-install.sh lcov
46
46
make depend
47
47
make coverage
48
48
Original file line number Diff line number Diff line change
1
+ #! /usr/bin/env bash
2
+ set -euox pipefail
3
+
4
+ sudo apt-get update
5
+ sudo apt-get install --yes --no-install-recommends $@
You can’t perform that action at this time.
0 commit comments