From c6ff34f9db7c22484e197827d33d4e741ab764aa Mon Sep 17 00:00:00 2001 From: lamonica-d Date: Thu, 11 Jan 2024 11:48:36 +0100 Subject: [PATCH] check test for macOS only --- .github/workflows/check-standard.yaml | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/.github/workflows/check-standard.yaml b/.github/workflows/check-standard.yaml index 48dda50..d247388 100644 --- a/.github/workflows/check-standard.yaml +++ b/.github/workflows/check-standard.yaml @@ -19,7 +19,7 @@ jobs: matrix: config: - {os: macos-latest, r: 'release'} - - {os: ubuntu-latest, r: 'release'} +# - {os: ubuntu-latest, r: 'release'} env: @@ -31,18 +31,24 @@ jobs: if: runner.os == 'Linux' run: | sudo apt update - sudo apt install grass sudo apt install curl sudo apt install gdal-bin sudo apt install libgdal-dev + sudo apt install grass - name: Install macOS system requirements if: runner.os == 'macOS' run: | - wget https://github.com/OSGeo/homebrew-osgeo4mac/blob/master/Formula/osgeo-grass.rb - brew install --HEAD ./osgeo-grass.rb - brew install gdal proj + brew install proj gdal + curl -O https://distfiles.macports.org/MacPorts/MacPorts-2.8.1.tar.bz2 + tar xf MacPorts-2.8.1.tar.bz2 + cd MacPorts-2.8.1/ + ./configure + make + sudo make install + sudo port install grass + - uses: actions/checkout@v3