Skip to content

Disable windows installability test on CI. #331

Disable windows installability test on CI.

Disable windows installability test on CI. #331

name: Installability
on:
push:
branches:
- develop
- master
pull_request:
schedule:
- cron: '0 0 1 * *'
jobs:
installability:
name: "Installability"
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest] # windows-2019 fails due to too long paths
env:
NAME: Install-${{ matrix.os }}
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: 3.8
- name: Install
shell: bash
run: |
git config --global core.longpaths true
git clone --depth 1 https://github.com/ned14/quickcpplib.git
pip install --user gitpython
python quickcpplib/scripts/test_cpp-pm_install.py conan/test_package/example.cpp quickcpplib quickcpplib::hl https://github.com/ned14/quickcpplib master "" outcome outcome::hl https://github.com/ned14/outcome develop ""
cd test_cpp-pm_install
mkdir build
cd build
cmake .. -DCMAKE_BUILD_TYPE=Release $CMAKE_CONFIGURE_OPTIONS
cmake --build .