[CI] Remove trigger and download world maps

Signed-off-by: jeanbaptisteC <jeanbaptistec@noreply.codeberg.org>
This commit is contained in:
Jean-Baptiste
2025-05-14 18:27:53 +02:00
committed by Konstantin Pastbin
parent 44f4a08623
commit 158c9b1ee9
3 changed files with 22 additions and 2 deletions

View File

@@ -1,7 +1,5 @@
name: Android Check name: Android Check
on: on:
schedule:
- cron: '0 1 * * *' # Once per day at 01:00 UTC
workflow_dispatch: # Manual trigger workflow_dispatch: # Manual trigger
push: push:
branches: branches:
@@ -70,6 +68,12 @@ jobs:
shell: bash shell: bash
run: ./configure.sh run: ./configure.sh
- name: Download MWM files
shell: bash
run: |
wget https://cdn.comaps.app/maps/latest/World.mwm -P ./data/
wget https://cdn.comaps.app/maps/latest/WorldCoasts.mwm -P ./data/
- name: Configure ccache - name: Configure ccache
uses: hendrikmuhs/ccache-action@v1.2 uses: hendrikmuhs/ccache-action@v1.2
with: with:

View File

@@ -1,6 +1,9 @@
name: iOS Check name: iOS Check
on: on:
workflow_dispatch: # Manual trigger workflow_dispatch: # Manual trigger
push:
branches:
- main
jobs: jobs:
ios-check: ios-check:
@@ -33,6 +36,12 @@ jobs:
shell: bash shell: bash
run: ./configure.sh run: ./configure.sh
- name: Download MWM files
shell: bash
run: |
wget https://cdn.comaps.app/maps/latest/World.mwm -P ./data/
wget https://cdn.comaps.app/maps/latest/WorldCoasts.mwm -P ./data/
- name: Configure XCode cache - name: Configure XCode cache
uses: irgaly/xcode-cache@v1 uses: irgaly/xcode-cache@v1
with: with:

7
docs/workflows.md Normal file
View File

@@ -0,0 +1,7 @@
# How works CI?
CI Codeberg is limited and cannot be used for now to build regularly apps and executes tests.
To limit regressions, we have enabled temporary Github CI on the [Github Mirror](https://github.com/comaps/comaps) to build Android and IOS app and execute linter each time we sync the mirror.
- [Android CI](https://github.com/comaps/comaps/actions/workflows/android-check.yaml)
- [IOS CI](https://github.com/comaps/comaps/actions/workflows/ios-check.yaml)