Skip to content

Commit

Permalink
Merge pull request #410 from iiasa/gams-action
Browse files Browse the repository at this point in the history
Install GAMS using iiasa/actions for CI
  • Loading branch information
khaeru authored Apr 1, 2021
2 parents 64ac5d1 + 3d7a8f9 commit 33404fd
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 93 deletions.
13 changes: 5 additions & 8 deletions .github/workflows/pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ on:


env:
GAMS_VERSION: 25.1.1
# See description in lint.yml
depth: 100

Expand Down Expand Up @@ -75,13 +74,11 @@ jobs:
${{ matrix.os }}-gams${{ env.GAMS_VERSION }}-
${{ matrix.os }}-
- name: Install GAMS and Graphviz
env:
CI_OS: ${{ matrix.os }}
run: |
ci/install-gams.sh
ci/install-graphviz.sh
shell: bash
- uses: iiasa/actions/setup-gams@main
with:
version: 25.1.1

- uses: ts-graphviz/setup-graphviz@v1

- uses: r-lib/actions/setup-r@master

Expand Down
2 changes: 1 addition & 1 deletion ci/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ RUN apt-get update &&\
ENV PATH="$VIRTUAL_ENV/bin:$PATH"

# Install GAMS
# NB see also ci/env.sh and try to keep version in sync.
# NB see also .github/workflows/pytest.yml and try to keep version in sync.
ARG GAMS_VERSION=27.3.0

RUN curl -O https://d37drm4t2jghv5.cloudfront.net/distributions/$GAMS_VERSION/linux/linux_x64_64_sfx.exe &&\
Expand Down
66 changes: 0 additions & 66 deletions ci/install-gams.sh

This file was deleted.

18 changes: 0 additions & 18 deletions ci/install-graphviz.sh

This file was deleted.

0 comments on commit 33404fd

Please sign in to comment.