mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-19 04:53:36 +00:00
[CI] Remove trigger and download world maps
Signed-off-by: jeanbaptisteC <jeanbaptistec@noreply.codeberg.org>
This commit is contained in:
committed by
Konstantin Pastbin
parent
44f4a08623
commit
158c9b1ee9
8
.github/workflows/android-check.yaml
vendored
8
.github/workflows/android-check.yaml
vendored
@@ -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:
|
||||||
|
|||||||
9
.github/workflows/ios-check.yaml
vendored
9
.github/workflows/ios-check.yaml
vendored
@@ -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
7
docs/workflows.md
Normal 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)
|
||||||
Reference in New Issue
Block a user