Skip to content

Commit 1735ca9

Browse files
committed
Shell: install compilers
1 parent a843467 commit 1735ca9

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/run-evercran.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,16 @@ 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 }}' le '1.2.3'; then
27+
docker exec -i evercran sh - <<EOF
28+
apt-get update
29+
apt-get install -y gcc-2.95 g++-2.95 g77-2.95 libc-dev perl-modules libg2c0-dev make
30+
EOF
31+
fi
32+
shell: bash
33+
2434
- name: Start tmate
2535
uses: r-hub/action-tmate@master
2636
with:

0 commit comments

Comments
 (0)