Dynamically generate valid xcode project files from json #4
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
# Controls when the workflow will run | |
on: | |
# Triggers the workflow on push or pull request events but only for the "main" branch | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: macos-13 | |
steps: | |
# Checks-out the kiwix/apple repository | |
- uses: actions/checkout@v4 | |
with: | |
repository: kiwix/apple | |
ref: main | |
path: apple | |
# Checks-out the kiwix/kiwix-custom-apple repository | |
- uses: actions/checkout@v4 | |
with: | |
repository: kiwix/kiwix-apple-custom | |
ref: feature/1-DWDS-build-script | |
path: custom | |
# Install the python dependencies | |
- run: python -m pip install pyyaml | |
# Install main project dependencies | |
- run: cd apple && brew bundle && cd .. | |
# copy build file to the main folder to be run from there | |
- run: cp custom/build_project.zsh . | |
- run: chmod +x build_project.zsh | |
- name: Build the projects | |
env: | |
DWDS_HTTP_BASIC_ACCESS_AUTHENTICATION: ${{ secrets.DWDS_HTTP_BASIC_ACCESS_AUTHENTICATION }} | |
run: zsh ./build_project.zsh | |