Skip to content

Version 6.0.33

Version 6.0.33 #77

Workflow file for this run

name: Unix
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
workflow_dispatch:
env:
# Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.)
BUILD_TYPE: RelWithDebInfo
jobs:
build:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest,macos-latest]
include:
- os: ubuntu-latest
- os: macos-latest
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Configure
run: cmake -S . -B ../build_folder -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -G "Unix Makefiles"
- name: Build
run: cmake --build ../build_folder
- name: Test
run: ctest --test-dir ../build_folder
- name: Install
run: cmake --install ../build_folder --prefix ${{github.workspace}}/../install_folder
- name: Package
run: cmake --build ../build_folder --target package
- name: Look for dumps
run: |
find ../build_folder -name "hs_err*log" -print -exec cat {} \;
find ../build_folder -name "core*" -print -exec sh -c 'gdb -c "{}" $(gdb -c "{}" -batch | grep -i "Core was generated by" | perl -ne "/\`([ a-zA-Z0-9_\/-]+)/ && print \"\$1\\n\"") -batch -ex "set pagination 0" -ex "thread apply all bt"' -- {} \;