Skip to content

Commit 50a0613

Browse files
committed
Shell: install compilers
1 parent a843467 commit 50a0613

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.github/workflows/run-evercran.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,17 @@ jobs:
2121
docker run --rm -d --name evercran ghcr.io/r-hub/evercran/${{ inputs.rversion }} sleep 1d
2222
shell: bash
2323

24+
- name: Install compilers
25+
run: |
26+
if dpkg --compare-versions '${{ inputs.rversion }}' ge '1.0.0' && \
27+
dpkg --compare-versions '${{ inputs.rversion }}' le '1.2.3'; then
28+
docker exec evercran sh - <<EOF
29+
apt-get update
30+
apt-get install -y gcc-2.95 g++-2.95 g77-2.95 libc-dev perl-modules libg2c0-dev make
31+
EOF
32+
fi
33+
shell: bash
34+
2435
- name: Start tmate
2536
uses: r-hub/action-tmate@master
2637
with:

0 commit comments

Comments
 (0)