Skip to content

Dynamically generate valid xcode project files from json #4

Dynamically generate valid xcode project files from json

Dynamically generate valid xcode project files from json #4

Workflow file for this run

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