Skip to content

Commit 7b655ca

Browse files
authored
fix(r/sedonadb): Increase CMAKE path length allowed on Windows and fix CMD check WARNINGs (#152)
1 parent fbbbed8 commit 7b655ca

File tree

9 files changed

+173
-134
lines changed

9 files changed

+173
-134
lines changed

.github/workflows/r-extended.yml

Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
1+
# Licensed to the Apache Software Foundation (ASF) under one
2+
# or more contributor license agreements. See the NOTICE file
3+
# distributed with this work for additional information
4+
# regarding copyright ownership. The ASF licenses this file
5+
# to you under the Apache License, Version 2.0 (the
6+
# "License"); you may not use this file except in compliance
7+
# with the License. You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# Unless required by applicable law or agreed to in writing,
12+
# software distributed under the License is distributed on an
13+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14+
# KIND, either express or implied. See the License for the
15+
# specific language governing permissions and limitations
16+
# under the License.
17+
18+
name: r-extended
19+
20+
on:
21+
push:
22+
branches:
23+
- main
24+
pull_request:
25+
branches:
26+
- main
27+
paths:
28+
- 'r/**'
29+
jobs:
30+
31+
test:
32+
runs-on: ${{ matrix.config.os }}
33+
name: ${{ matrix.config.os }} (${{ matrix.config.r }})
34+
defaults:
35+
run:
36+
shell: bash
37+
38+
strategy:
39+
fail-fast: false
40+
matrix:
41+
config:
42+
- {os: ubuntu-latest, r: 'release'}
43+
44+
env:
45+
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
46+
R_KEEP_PKG_SOURCE: yes
47+
48+
steps:
49+
- uses: actions/checkout@v4
50+
- uses: r-lib/actions/setup-pandoc@v2
51+
- uses: r-lib/actions/setup-r@v2
52+
with:
53+
r-version: ${{ matrix.config.r }}
54+
http-user-agent: ${{ matrix.config.http-user-agent }}
55+
use-public-rspm: true
56+
57+
- name: Use stable Rust
58+
id: rust
59+
run: |
60+
rustup toolchain install stable --no-self-update
61+
rustup default stable
62+
63+
- name: Install dependencies
64+
if: matrix.config.os == 'ubuntu-latest'
65+
run: sudo apt-get update && sudo apt-get install -y libgeos-dev
66+
67+
- uses: r-lib/actions/setup-r-dependencies@v2
68+
with:
69+
extra-packages: any::rcmdcheck
70+
needs: check
71+
working-directory: r/sedonadb
72+
73+
- uses: r-lib/actions/check-r-package@v2
74+
with:
75+
working-directory: r/sedonadb
76+
error-on: '"error"'

.github/workflows/r.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,15 +46,14 @@ jobs:
4646
config:
4747
- {os: ubuntu-latest, r: 'release'}
4848
- {os: macos-latest, r: 'release'}
49-
# - {os: windows-latest, r: 'release'}
49+
- {os: windows-latest, r: 'release'}
5050

5151
env:
5252
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
5353
R_KEEP_PKG_SOURCE: yes
5454

5555
steps:
5656
- uses: actions/checkout@v4
57-
- uses: r-lib/actions/setup-pandoc@v2
5857
- uses: r-lib/actions/setup-r@v2
5958
with:
6059
r-version: ${{ matrix.config.r }}

0 commit comments

Comments
 (0)