mirror of
https://git.selfprivacy.org/kherel/selfprivacy.org.app.git
synced 2025-01-24 17:56:45 +00:00
Better CI
This commit is contained in:
parent
42e214a4d4
commit
01888798d2
4
ci.py
4
ci.py
|
@ -45,7 +45,7 @@ def build_linux():
|
|||
"&& flutter build linux")
|
||||
|
||||
def build_apk():
|
||||
podman_offline(f"{CONTAINER_HOME}/src", "chown -R $(id -u):$(id -g) /tmp/gradle",
|
||||
podman_offline(f"{CONTAINER_HOME}/src", "chown -R $(id -u):$(id -g) /tmp/gradle /tmp/flutter_pub_cache",
|
||||
"&& flutter pub get --offline",
|
||||
"&& flutter build apk")
|
||||
|
||||
|
@ -99,7 +99,7 @@ def ci_build_linux():
|
|||
"&& flutter build linux --debug")
|
||||
|
||||
def ci_build_apk():
|
||||
podman_online(f"{CONTAINER_HOME}/src", "chown -R $(id -u):$(id -g) /tmp/gradle",
|
||||
podman_online(f"{CONTAINER_HOME}/src", "chown -R $(id -u):$(id -g) /tmp/gradle /tmp/flutter_pub_cache",
|
||||
"&& flutter build apk --debug")
|
||||
|
||||
def ci_run_tests():
|
||||
|
|
Loading…
Reference in a new issue