mirror of
https://github.com/kiwix/kiwix-apple-custom.git
synced 2025-08-03 18:46:07 -04:00
commit
c8ad01270f
15
.github/workflows/ci.yml
vendored
15
.github/workflows/ci.yml
vendored
@ -37,20 +37,15 @@ jobs:
|
||||
|
||||
- name: Test python scripts
|
||||
working-directory: custom
|
||||
env:
|
||||
PYTHONPATH: src/
|
||||
run: python -m unittest
|
||||
run: PYTHONPATH=src python -m unittest discover -s tests
|
||||
|
||||
- name: Set test tag variable as an output
|
||||
id: vars
|
||||
run: echo "tag=testapp_2023.12.1" >> $GITHUB_OUTPUT
|
||||
|
||||
- name: Validate and parse the tag
|
||||
run:
|
||||
|
|
||||
cd custom
|
||||
python src/tag_validator.py ${{ steps.vars.outputs.tag }}
|
||||
cd ..
|
||||
working-directory: custom
|
||||
run: python src/tag_validator.py ${{ steps.vars.outputs.tag }}
|
||||
|
||||
- name: Check-out kiwix/apple
|
||||
uses: actions/checkout@v4
|
||||
@ -59,11 +54,10 @@ jobs:
|
||||
path: apple
|
||||
|
||||
- name: Install Kiwix dependencies
|
||||
working-directory: apple
|
||||
run: | # remove pre-commit, it's not needed for CI
|
||||
cd apple
|
||||
cat Brewfile | grep -v -e pre-commit > Brewfile_CI
|
||||
brew bundle --force --file Brewfile_CI
|
||||
cd ..
|
||||
|
||||
- name: Generate project based on tag
|
||||
env:
|
||||
@ -86,7 +80,6 @@ jobs:
|
||||
|
||||
# run xcodegen on our custom project
|
||||
xcodegen -s custom_project.yml
|
||||
|
||||
ls -la
|
||||
|
||||
|
||||
|
@ -8,8 +8,8 @@ This project contains data and scripts needed to create specific
|
||||
custom Kiwix Apple apps.
|
||||
|
||||
[](https://www.codefactor.io/repository/github/kiwix/kiwix-apple-custom)
|
||||
[](https://github.com/kiwix/apple/actions/workflows/ci.yml?query=branch%3Amain)
|
||||
[](https://github.com/kiwix/kiwix-apple-custom/actions/workflows/cd?query=branch%3Amain)
|
||||
[](https://github.com/kiwix/kiwix-apple-custom/actions/workflows/ci.yml)
|
||||
[](https://github.com/kiwix/kiwix-apple-custom/actions/workflows/cd.yml)
|
||||
[](https://www.gnu.org/licenses/gpl-3.0)
|
||||
|
||||
## Custom app folder
|
||||
|
0
src/__init__.py
Normal file
0
src/__init__.py
Normal file
Loading…
x
Reference in New Issue
Block a user