Repository navigation
wrap returned module objects as the class of the library that returne… #93
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
| # Run CI for R using https://eddelbuettel.github.io/r-ci/ | |
| name: werror | |
| on: | |
| push: | |
| pull_request: | |
| env: | |
| _R_CHECK_FORCE_SUGGESTS_: "false" | |
| RCPP_CXXFLAGS: "-Werror -Wall -Wextra -Wconversion" | |
| jobs: | |
| ci: | |
| runs-on: ubuntu-latest | |
| container: eddelbuettel/drd:26.04 | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v7 | |
| - name: Setup | |
| uses: eddelbuettel/github-actions/r-ci@master | |
| - name: Dependencies | |
| run: ./run.sh install_deps | |
| - name: Set flags | |
| run: mkdir -p ~/.R && echo "CXXFLAGS += $RCPP_CXXFLAGS" >> ~/.R/Makevars | |
| - name: Test | |
| run: ./run.sh run_tests | |
| - name: Logs | |
| run: ./run.sh dump_logs | |
| if: failure() |