Skip to content

Commit

Permalink
bugfix in workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
nkoenen committed Nov 25, 2024
1 parent aeea6f8 commit 3c0a4fd
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/R-CMD-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,15 @@ on:
branches: [main, master]
pull_request:
branches: [main, master]
# Allow manually triggering the workflow via GitHub website, gh CLI tool etc.
# Also adds parameter to enable tmate (inetractive tmux session for debugging)
workflow_dispatch:
inputs:
debug_enabled:
type: boolean
description: 'Run the build with tmate debugging enabled (https://github.com/marketplace/actions/debugging-with-tmate)'
required: false
default: false

name: R-CMD-check

Expand Down Expand Up @@ -75,7 +84,7 @@ jobs:

# See https://github.com/mlverse/torch/issues/1213#issuecomment-2495533992
- name: Build libtorch without openMP (only for macOS)
if: ${{ matrix.config.os == 'MacOS' }}
if: ${{ runner.os == 'macOS' }}
run: |
options(timeout = 600)
kind <- "cpu-intel"
Expand Down

0 comments on commit 3c0a4fd

Please sign in to comment.