Skip to content

Update README.md

Update README.md #5590

Workflow file for this run

name: macOS Build
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
name: Build on macOS ${{ matrix.build_type }}
runs-on: macos-latest
strategy:
matrix:
build_type: [Debug, Release]
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Show CMake version
run: cmake --version
- name: Installing packages
run: brew list wxwidgets || brew install wxwidgets
- name: Configuring CMake
run: |
mkdir -p build && cd build
cmake .. \
-DCMAKE_BUILD_TYPE=${{ matrix.build_type }} \
-DCMAKE_INSTALL_PREFIX=~/local \
-DXTD_BUILD_CPP_STANDARD=23 \
-DXTD_BUILD_WITH_CONTINUOUS_INTEGRATION_SYSTEM=ON \
-DXTD_BUILD_TESTS_XTD_CORE=ON \
-DXTD_BUILD_TESTS_XTD_DRAWING=OFF \
-DXTD_BUILD_TESTS_XTD_FORMS=OFF \
-DXTD_BUILD_TESTS_XTD_TUNIT=OFF
- name: Building xtd
run: cmake --build build -- -j 8
- name: Installing xtd
run: cmake --build build --target install
- name: Running xtd unit tests
run: |
cd build
ctest -j8 --output-on-failure --build-config ${{ matrix.build_type }}
# - name: Upload test results
# uses: actions/[email protected]
# with:
# name: macos-${{ matrix.build_type }}-test-results
# path: build/Testing