Skip to content

Commit

Permalink
[r/ci] Show CPU info in R CI as well as Python CI (#1956) (#1958)
Browse files Browse the repository at this point in the history
* [r/ci] Show CPU info in R CI as well as Python CI

* code-review feedback

Co-authored-by: John Kerl <[email protected]>
  • Loading branch information
github-actions[bot] and johnkerl authored Dec 6, 2023
1 parent 6ce5770 commit b3e802d
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/r-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,17 @@ jobs:
steps:
- uses: actions/checkout@v3

- name: Show matrix OS
run: echo "matrix.os:" ${{ matrix.os }}

- name: Linux CPU info
if: ${{ matrix.os == 'ubuntu-latest' }}
run: cat /proc/cpuinfo

- name: MacOS CPU info
if: ${{ matrix.os == 'macOS-latest' }}
run: sysctl -a | grep cpu

- name: Bootstrap
run: cd apis/r && tools/r-ci.sh bootstrap

Expand Down

0 comments on commit b3e802d

Please sign in to comment.