File tree 3 files changed +12
-2
lines changed
3 files changed +12
-2
lines changed Original file line number Diff line number Diff line change 5
5
branches : [master]
6
6
workflow_dispatch :
7
7
branches : [master]
8
+ schedule :
9
+ - cron : " 0 2 * * *"
8
10
9
11
jobs :
10
12
build :
Original file line number Diff line number Diff line change @@ -15,8 +15,6 @@ FROM ghcr.io/r-wasm/webr:main
15
15
# Alternative workaround for libnode-dev conflicting with nodejs (see above)
16
16
RUN apt-get update && \
17
17
apt-get install -y equivs lsb-release
18
-
19
-
20
18
# equivs-control libnode-dev && \
21
19
# sed -i 's/Package:.*/Package: libnode-dev/' libnode-dev && \
22
20
# sed -i 's/# Provides:.*/Provides: libv8-dev/' libnode-dev && \
@@ -42,6 +40,9 @@ ENV R_LIBS_USER=/opt/R/current/lib/R/site-library
42
40
COPY Renviron /opt/R/current/lib/R/etc/Renviron.site
43
41
COPY Rprofile /opt/R/current/lib/R/etc/Rprofile.site
44
42
43
+ # Update emscripten rust from the parent container
44
+ RUN rustup update stable
45
+
45
46
# Use devel-pak (until solver hangs are fixed)
46
47
RUN R -e 'install.packages("pak", lib = .Library, repos = "https://r-lib.github.io/p/pak/devel/source/linux-gnu/x86_64")'
47
48
Original file line number Diff line number Diff line change @@ -10,6 +10,13 @@ echo "Running fake X server on $DISPLAY"
10
10
SOURCEPKG=" ${1:- $SOURCEPKG } "
11
11
GITHUB_OUTPUT=${GITHUB_OUTPUT:-/ dev/ stdout}
12
12
13
+ # Make sure we have laste rust
14
+ if [ " $NEED_CARGO " ]; then
15
+ echo " ::group::Update Rust"
16
+ rustup update stable nightly
17
+ echo " ::endgroup::"
18
+ fi
19
+
13
20
# Use package cache dir
14
21
export R_LIBS_USER=" ${PWD} /pkglib"
15
22
You can’t perform that action at this time.
0 commit comments