diff --git a/.gitea/workflows/apk.yaml b/.gitea/workflows/apk.yaml new file mode 100644 index 0000000..6c6434a --- /dev/null +++ b/.gitea/workflows/apk.yaml @@ -0,0 +1,15 @@ +on: + push: + #paths: + # - dialer/** + +jobs: + build: + runs-on: debian + container: git.gmoker.com/icing/flutter:main + defaults: + run: + working-directory: dialer + steps: + - uses: actions/checkout@v1 + - run: flutter build apk diff --git a/dialer/build.sh b/dialer/build.sh new file mode 100755 index 0000000..6416762 --- /dev/null +++ b/dialer/build.sh @@ -0,0 +1,5 @@ +#!/bin/bash -e + +IMG=git.gmoker.com/icing/flutter:main + +docker run --rm -v "$PWD:/app/" "$IMG" build apk diff --git a/dialer/run.sh b/dialer/run.sh new file mode 100755 index 0000000..3a8ccb7 --- /dev/null +++ b/dialer/run.sh @@ -0,0 +1,5 @@ +#!/bin/bash -e + +IMG=git.gmoker.com/icing/flutter:main + +docker run --rm -p 5037:5037 -v "$PWD:/app/" "$IMG" run