Skip to content

Use .zip upload of knitro14 in CI #58

Use .zip upload of knitro14 in CI

Use .zip upload of knitro14 in CI #58

Workflow file for this run

name: MINLPTests
on:
push:
branches: [master]
pull_request:
types: [opened, synchronize, reopened]
# needed to allow julia-actions/cache to delete old caches that it has created
permissions:
actions: write
contents: read
jobs:
test:
name: KNITRO
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: julia-actions/setup-julia@v1
with:
version: '1'
arch: 'x64'
- uses: julia-actions/cache@v1
- shell: bash
env:
ARTELYS_LIC_JUMP_DEV: ${{ secrets.ARTELYS_LIC_8326_JUMP_DEV_2023_11_02 }}
run: |
echo "$ARTELYS_LIC_JUMP_DEV" > ~/artelys_lic.txt
- name: "run_minlptests"
env:
SECRET_KNITRO_ZIP: ${{ secrets.SECRET_KNITRO_ZIP }}
shell: julia --color=yes {0}
run: |
path = joinpath(ENV["GITHUB_WORKSPACE"], "test", "MINLPTests")
cd(path)
using Pkg
Pkg.activate(".")
Pkg.instantiate()
Pkg.add(PackageSpec(path=ENV["GITHUB_WORKSPACE"]))
Pkg.build("KNITRO")
include(joinpath(path, "run_minlptests.jl"))