Compare commits

..

5 Commits

Author SHA1 Message Date
5c93cc035f
feat: action build apk
All checks were successful
/ build (push) Successful in 7m6s
/ mirror (push) Successful in 4s
/ deploy (push) Successful in 52s
2025-01-02 02:42:37 +00:00
41e5cad2dd
feat: autobuild only if dialer/** if modified 2025-01-02 02:39:21 +00:00
1d6f921877
feat: cicd to build apk 2025-01-02 02:39:21 +00:00
09c5116845
feat: build + run scripts 2025-01-02 02:39:21 +00:00
82d4556aa6
Add docker build apk 2025-01-02 02:39:21 +00:00
3 changed files with 25 additions and 0 deletions

15
.gitea/workflows/apk.yaml Normal file
View File

@ -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

5
dialer/build.sh Executable file
View File

@ -0,0 +1,5 @@
#!/bin/bash -e
IMG=git.gmoker.com/icing/flutter:main
docker run --rm -v "$PWD:/app/" "$IMG" build apk

5
dialer/run.sh Executable file
View File

@ -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