Skip to content

Commit 4045eb2

Browse files
committed
CI across more distros
1 parent bf5619b commit 4045eb2

File tree

2 files changed

+44
-6
lines changed

2 files changed

+44
-6
lines changed

.github/workflows/R-CMD-check.yaml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@ name: R-CMD-check.yaml
1414

1515
permissions: read-all
1616

17+
concurrency:
18+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
19+
cancel-in-progress: true
20+
1721
jobs:
1822
R-CMD-check:
1923
runs-on: ${{ matrix.config.os }}
@@ -24,20 +28,15 @@ jobs:
2428
fail-fast: false
2529
matrix:
2630
config:
31+
- {os: macos-13, r: 'release'}
2732
- {os: macos-latest, r: 'release'}
28-
2933
- {os: windows-latest, r: 'release'}
3034
- {os: windows-latest, r: 'oldrel-1'}
3135
- {os: windows-latest, r: 'oldrel-2'}
3236
- {os: windows-latest, r: 'oldrel-3'}
3337
- {os: windows-latest, r: 'oldrel-4'}
34-
3538
- {os: ubuntu-latest, r: 'devel', http-user-agent: 'release'}
3639
- {os: ubuntu-latest, r: 'release'}
37-
- {os: ubuntu-latest, r: 'oldrel-1'}
38-
- {os: ubuntu-latest, r: 'oldrel-2'}
39-
- {os: ubuntu-latest, r: 'oldrel-3'}
40-
- {os: ubuntu-latest, r: 'oldrel-4'}
4140

4241
env:
4342
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/distros.yml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
name: Legacy Distros
2+
3+
on:
4+
push:
5+
branches: [main, master]
6+
pull_request:
7+
branches: [main, master]
8+
9+
concurrency:
10+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
11+
cancel-in-progress: true
12+
13+
jobs:
14+
rhel:
15+
runs-on: ubuntu-24.04${{matrix.arch=='arm64' && '-arm' || ''}}
16+
name: ${{ matrix.distro }} ${{ matrix.arch }}
17+
strategy:
18+
fail-fast: false
19+
matrix:
20+
distro: [ 'rocky-8', 'rocky-9', 'ubuntu-20.04', 'ubuntu-22.04', 'debian-10', 'debian-11', 'debian-12']
21+
#arch: [ 'amd64', 'arm64' ]
22+
arch: [ 'amd64' ]
23+
container:
24+
image: ghcr.io/r-devel/${{ matrix.distro }}:latest
25+
steps:
26+
- uses: actions/checkout@v4
27+
28+
- uses: r-lib/actions/setup-r-dependencies@v2
29+
with:
30+
extra-packages: any::rcmdcheck
31+
needs: check
32+
33+
- uses: r-lib/actions/check-r-package@v2
34+
with:
35+
args: '"--no-manual"'
36+
env:
37+
NOT_CRAN: false
38+
_R_CHECK_DOC_SIZES_: FALSE
39+
LANG: en_US.UTF-8

0 commit comments

Comments
 (0)