Skip to content

Use AC28 for the Mac -demo command #102

Use AC28 for the Mac -demo command

Use AC28 for the Mac -demo command #102

Workflow file for this run

name: Build
on:
push:
defaults:
run:
shell: bash
jobs:
build:
runs-on: ${{ matrix.os-type }}
strategy:
matrix:
os-type: [ windows-2022, macos-13 ]
ac-version: [ 25, 26, 27 ]
steps:
- name: Checkout the submodule
uses: actions/checkout@v4
with:
submodules: recursive
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: 3.8
- name: Set version number
shell: bash
run: |
if jq -e '.version != "changeme"' config.json; then
echo 'The ".version" field of "config.json" must be the invalid placeholder "changeme"' >&2
exit 1
fi
jq '.version = "1"' config.json > config.json.new
rm config.json
mv config.json.new config.json
- name: Setup Xcode
if: runner.os == 'macOS'
run: sudo xcode-select -s /Applications/Xcode_14.2.app
- name: Run build script
run: |
python Tools/BuildAddOn.py --configFile config.json --acVersion ${{ matrix.ac-version }} --buildConfig Debug RelWithDebInfo