Files
histogram/.github/workflows/superproject_cmake.yml
Hans Dembinski cd3e1110cb Updates from #370 (#397)
This PR keeps the useful changes from PR #370, which was never finished.
2024-04-24 17:39:24 +02:00

32 lines
752 B
YAML

name: superproject cmake
on:
push:
branches:
- master
- develop
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref }}
cancel-in-progress: true
jobs:
build:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- name: Fetch Boost superproject
run: |
cd ..
git clone -b $GITHUB_BASE_REF --depth 5 https://github.com/boostorg/boost.git
cd boost
git submodule update --init --depth 5
rm -rf libs/histogram/*
mv -f $GITHUB_WORKSPACE/* libs/histogram
mv -f * $GITHUB_WORKSPACE
- name: CMake from superproject
run: |
cd ..
cmake -DBoost_VERBOSE=1 $GITHUB_WORKSPACE
cmake --build . --target all -j3 -- -k