test: reproduce Linux libstdc++ assertion crash in isolation_tree #139
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Dry runs for PRs | |
| on: | |
| pull_request: | |
| branches: [devel] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Setup R and Bioconductor | |
| uses: grimbough/bioc-actions/setup-bioc@v1 | |
| with: | |
| bioc-version: devel | |
| - name: Install dependencies | |
| uses: r-lib/actions/setup-r-dependencies@v2 | |
| # TEMPORARY: forces libstdc++ runtime assertions on, to reproduce the | |
| # Linux-only isolation_forest.cpp crash from | |
| # MSstatsConvert_isolation_forest_bug_report.md. Remove this step once | |
| # the crash is confirmed / the fix is verified. | |
| - name: Force libstdc++ assertions (reproduce Linux crash) | |
| run: | | |
| mkdir -p ~/.R | |
| echo "CXXFLAGS += -D_GLIBCXX_ASSERTIONS -UNDEBUG" >> ~/.R/Makevars | |
| - name: Build, Install, Check | |
| uses: grimbough/bioc-actions/build-install-check@v1 | |