Skip to content

Commit b10b242

Browse files
Andreas BlätteAndreas Blätte
authored andcommitted
Merge branch 'master' of https://github.com/PolMine/RcppCWB
2 parents a4d5c53 + bbb55e5 commit b10b242

File tree

2 files changed

+21
-21
lines changed

2 files changed

+21
-21
lines changed

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

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
matrix:
2727
config:
2828
- {os: windows-latest, r: 'release'}
29-
# - {os: windows-2022, r: 'devel'}
29+
# - {os: windows-2022, r: 'devel'}
3030
- {os: macOS-latest, r: 'release'}
3131
- {os: ubuntu-20.04, r: 'release', rspm: "https://packagemanager.rstudio.com/cran/__linux__/focal/latest"}
3232
- {os: ubuntu-20.04, r: 'devel', rspm: "https://packagemanager.rstudio.com/cran/__linux__/focal/latest"}
@@ -46,18 +46,18 @@ jobs:
4646
http-user-agent: ${{ matrix.config.http-user-agent }}
4747
use-public-rspm: true
4848

49-
# - name: Setup R (Windows UCRT)
50-
# if: matrix.config.os == 'windows-2022'
51-
# uses: kalibera/ucrt3/actions/r-install@main
49+
- name: Setup R (Windows UCRT)
50+
if: matrix.config.os == 'windows-latest'
51+
uses: kalibera/ucrt3/actions/r-install@main
5252

53-
# - name: Install UCRT toolchain
54-
# if: matrix.config.os == 'windows-2022'
55-
# uses: kalibera/ucrt3/actions/toolchain-install@main
56-
# with:
57-
# # base ... toolchain has the compilers and libraries to build R and recommended packages
58-
# # full ... additional libraries to build CRAN packages
59-
# # none ... no toolchain is needed (no native code)
60-
# toolchain-type: full
53+
- name: Install UCRT toolchain
54+
if: matrix.config.os == 'windows-latest'
55+
uses: kalibera/ucrt3/actions/toolchain-install@main
56+
with:
57+
# base ... toolchain has the compilers and libraries to build R and recommended packages
58+
# full ... additional libraries to build CRAN packages
59+
# none ... no toolchain is needed (no native code)
60+
toolchain-type: full
6161

6262
- uses: r-lib/actions/setup-pandoc@v2
6363

@@ -108,18 +108,18 @@ jobs:
108108
shell: Rscript {0}
109109

110110
# - name: Whereabouts of gcc and g++
111-
# if: matrix.config.os == 'windows-2022'
111+
# if: matrix.config.os == 'windows-latest'
112112
# run: |
113113
# echo %PATH%
114114
# where gcc
115115
# where g++
116116

117-
# - name: Check package (UCRT)
118-
# if: matrix.config.os == 'windows-2022'
119-
# env:
120-
# _R_INSTALL_TIME_PATCHES_: no
121-
# TZ: UTC
122-
# uses: kalibera/R-actions/pkg-check@master
117+
- name: Check package (UCRT)
118+
if: matrix.config.os == 'windows-latest'
119+
env:
120+
_R_INSTALL_TIME_PATCHES_: no
121+
TZ: UTC
122+
uses: kalibera/R-actions/pkg-check@master
123123

124124
- name: Build Windows binary package
125125
if: matrix.os == 'windows-latest'

src/Makevars.ucrt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
R_PACKAGE_SOURCE=$(CURDIR)/cwb
22

3-
GLIB_DEFINES=-I$(R_TOOLS_SOFT)/include/glib-2.0 \
4-
-I$(R_TOOLS_SOFT)/lib/glib-2.0/include
3+
GLIB_DEFINES=-I"$(R_TOOLS_SOFT)/include/glib-2.0" \
4+
-I"$(R_TOOLS_SOFT)/lib/glib-2.0/include"
55

66
PKG_CPPFLAGS=-I$(R_PACKAGE_SOURCE)/cqp -I$(R_PACKAGE_SOURCE)/cl -I$(R_PACKAGE_SOURCE)/CQi $(GLIB_DEFINES) -DPCRE_STATIC
77

0 commit comments

Comments
 (0)