Skip to content

Commit

Permalink
Shell: install compilers
Browse files Browse the repository at this point in the history
  • Loading branch information
gaborcsardi committed Nov 17, 2024
1 parent a843467 commit 50a0613
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/run-evercran.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,17 @@ jobs:
docker run --rm -d --name evercran ghcr.io/r-hub/evercran/${{ inputs.rversion }} sleep 1d
shell: bash

- name: Install compilers
run: |
if dpkg --compare-versions '${{ inputs.rversion }}' ge '1.0.0' && \
dpkg --compare-versions '${{ inputs.rversion }}' le '1.2.3'; then
docker exec evercran sh - <<EOF
apt-get update
apt-get install -y gcc-2.95 g++-2.95 g77-2.95 libc-dev perl-modules libg2c0-dev make
EOF
fi
shell: bash

- name: Start tmate
uses: r-hub/action-tmate@master
with:
Expand Down

0 comments on commit 50a0613

Please sign in to comment.