Skip to content

Commit

Permalink
Update GitHub actions workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
nkoenen committed Dec 20, 2023
1 parent 7cf2809 commit 3e4639c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 85 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/R-CMD-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
R-CMD-check:
runs-on: ${{ matrix.config.os }}

name: ${{ matrix.config.os }} (tf-${{ matrix.config.tf }}, R-${{ matrix.config.r }})
name: ${{ matrix.config.os }} (R-${{ matrix.config.r }})

strategy:
fail-fast: false
Expand All @@ -30,17 +30,14 @@ jobs:
- {os: 'ubuntu-latest', r: 'release'}
- {os: 'ubuntu-latest', r: 'oldrel-1'}
- {os: 'ubuntu-latest', r: 'oldrel-2'}
- {os: 'ubuntu-latest', r: 'oldrel-3'}
- {os: 'ubuntu-latest', r: 'oldrel-4'}

env:
R_REMOTES_NO_ERRORS_FROM_WARNINGS: true
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
TORCH_TEST: 1
TORCH_INSTALL: 1
TORCH_COMMIT_SHA: "none"
CC: gcc-14
CXX: g++-14
PYTORCH_ENABLE_MPS_FALLBACK: 1

steps:
- uses: actions/checkout@v3
Expand All @@ -64,7 +61,7 @@ jobs:
shell: Rscript {0}

- name: Install Tensorflow + Keras deps
run: keras::install_keras(tensorflow = '${{ matrix.config.tf }}-cpu')
run: keras::install_keras(tensorflow = 'default-cpu')
shell: Rscript {0}

- name: Check if torch is installed
Expand All @@ -80,4 +77,5 @@ jobs:
- uses: r-lib/actions/check-r-package@v2
with:
error-on: '"error"'
args: 'c("--no-multiarch", "--no-manual", "--as-cran")'
upload-snapshots: true
79 changes: 0 additions & 79 deletions .github/workflows/pr-commands.yaml

This file was deleted.

0 comments on commit 3e4639c

Please sign in to comment.