Skip to content

inno Setup installer script improvements #1433

inno Setup installer script improvements

inno Setup installer script improvements #1433

Workflow file for this run

name: macos
on:
workflow_dispatch:
push:
paths:
- '**'
- '!.github/**'
- '.github/workflows/macos.yml'
pull_request:
paths:
- '**'
- '!.github/**'
- '.github/workflows/macos.yml'
jobs:
macos:
runs-on: macos-latest
steps:
- name: Install Codelite's dependencies
run: |
brew update || true
brew upgrade || true
brew install git || true
brew install cmake || true
brew install libssh || true
brew install hunspell || true
brew install bison || true
brew install flex || true
brew install mariadb || true
brew install postgresql || true
# WxWidgets
- name: Checkout
uses: actions/checkout@v4
with:
repository: wxWidgets/wxWidgets
ref: v3.2.8
submodules: recursive
path: wxWidgets
- name: Build and install wxWidgets
run: |
mkdir wxWidgets/build-release
cd wxWidgets/build-release
../configure --enable-shared --enable-monolithic --with-osx_cocoa CXX='clang++ -std=c++17 -stdlib=libc++ -I../src/tiff/libtiff' CC=clang --disable-debug --disable-mediactrl --enable-stl
make -j$(sysctl -n hw.physicalcpu)
sudo make install
# Codelite
- name: Checkout
uses: actions/checkout@v4
with:
submodules: recursive
- name: Build, test and install Codelite
run: |
mkdir build-release
cd $_
brew install autoconf automake libtool gettext
export CMAKE_POLICY_VERSION_MINIMUM=3.5
cmake .. -DCMAKE_BUILD_TYPE=Release -Wno-dev -DWITH_MYSQL=1 -DBUILD_TESTING=1
make -j$(sysctl -n hw.physicalcpu) VERBOSE=1 install
ctest --output-on-failure
# - name: codelite --version
# run: codelite.app/Contents/MacOS/codelite --version || exit 0 # codelite --version returns -1