Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
Signed-off-by: Damien Jeandemange <[email protected]>
  • Loading branch information
jeandemanged committed Dec 4, 2024
1 parent 158b3f7 commit 4bae3e1
Showing 1 changed file with 11 additions and 10 deletions.
21 changes: 11 additions & 10 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
os: [ubuntu-latest, windows-latest] # macos-latest

steps:
- name: Install Knitro (Linux)
Expand All @@ -27,15 +27,16 @@ jobs:
env:
KNITRO_LINUX_URL: ${{ secrets.KNITRO_LINUX_URL }}

- name: Install Knitro (macOS)
if: matrix.os == 'macos-latest'
run: |
wget -nv -O knitro.tar.gz "$KNITRO_MACOS_URL"
mkdir -p $RUNNER_TEMP/knitro
tar xzf knitro.tar.gz -C $RUNNER_TEMP/knitro
echo "KNITRODIR=$RUNNER_TEMP/knitro/knitro-14.1.0-ARM-MacOS" >> "$GITHUB_ENV"
env:
KNITRO_MACOS_URL: ${{ secrets.KNITRO_MACOS_URL }}
# Knitro API JARs are missing from macOS install kit ...
# - name: Install Knitro (macOS)
# if: matrix.os == 'macos-latest'
# run: |
# wget -nv -O knitro.tar.gz "$KNITRO_MACOS_URL"
# mkdir -p $RUNNER_TEMP/knitro
# tar xzf knitro.tar.gz -C $RUNNER_TEMP/knitro
# echo "KNITRODIR=$RUNNER_TEMP/knitro/knitro-14.1.0-ARM-MacOS" >> "$GITHUB_ENV"
# env:
# KNITRO_MACOS_URL: ${{ secrets.KNITRO_MACOS_URL }}

- name: Install Knitro (Windows)
if: matrix.os == 'windows-latest'
Expand Down

0 comments on commit 4bae3e1

Please sign in to comment.