refactor(.github/workflows): linux: use ./make, run less frequently (#334)
While there, flush `print`s in `./make` to have more understandable logging. Also part of https://github.com/ooni/probe/issues/1466
This commit is contained in:
parent
b5ba1e743f
commit
6b88730cc4
2 changed files with 25 additions and 18 deletions
5
make
5
make
|
|
@ -121,8 +121,8 @@ def sdkmanager_install_cmd(binpath: str) -> List[str]:
|
|||
|
||||
|
||||
def log(msg: str) -> None:
|
||||
"""log prints a message on the standard error."""
|
||||
print(msg, file=sys.stderr)
|
||||
"""log prints a message on the standard output."""
|
||||
print(msg, flush=True)
|
||||
|
||||
|
||||
class Options(Protocol):
|
||||
|
|
@ -1151,7 +1151,6 @@ class OONIProbeLinux:
|
|||
"linux/{}".format(self._arch),
|
||||
"-e",
|
||||
"GOARCH={}".format(self._arch),
|
||||
"-it",
|
||||
"-v",
|
||||
"{}:/ooni".format(os.getcwd()),
|
||||
"-w",
|
||||
|
|
|
|||
Loading…
Reference in a new issue