Skip to content

Commit

Permalink
add action for check with nlopt installed system-wide
Browse files Browse the repository at this point in the history
  • Loading branch information
eddelbuettel committed Jan 13, 2022
1 parent cd9980c commit fc8d2c9
Showing 1 changed file with 42 additions and 0 deletions.
42 changes: 42 additions & 0 deletions .github/workflows/system-nlopt.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# Run CI for R using https://eddelbuettel.github.io/r-ci/

name: with-system-nlopt

on:
push:
pull_request:

env:
USE_BSPM: "true"
_R_CHECK_FORCE_SUGGESTS_: "false"

jobs:
check:
strategy:
matrix:
include:
#- {os: macOS-latest}
- {os: ubuntu-latest}

runs-on: ${{ matrix.os }}

steps:
- uses: actions/checkout@v2

- name: Bootstrap
run: |
curl -OLs https://eddelbuettel.github.io/r-ci/run.sh
chmod 0755 run.sh
./run.sh bootstrap
- name: Dependencies
run: |
./run.sh install_aptget libnlopt-dev
./run.sh install_deps
- name: Test
run: ./run.sh run_tests

#- name: Coverage
# if: ${{ matrix.os == 'ubuntu-latest' }}
# run: ./run.sh coverage

0 comments on commit fc8d2c9

Please sign in to comment.