File tree Expand file tree Collapse file tree 1 file changed +32
-0
lines changed Expand file tree Collapse file tree 1 file changed +32
-0
lines changed Original file line number Diff line number Diff line change @@ -110,6 +110,38 @@ jobs:
110
110
Pkg.develop(Pkg.PackageSpec(; path = pwd()))
111
111
Pkg.develop(ENV["PACKAGE"])
112
112
Pkg.test(ENV["PACKAGE"])
113
+ test-gurobi :
114
+ name : Gurobi
115
+ runs-on : ubuntu-latest
116
+ steps :
117
+ - uses : actions/checkout@v3
118
+ - uses : julia-actions/setup-julia@v1
119
+ with :
120
+ version : ' 1'
121
+ - uses : actions/cache@v1
122
+ env :
123
+ cache-name : cache-artifacts
124
+ with :
125
+ path : ~/.julia/artifacts
126
+ key : ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }}
127
+ restore-keys : |
128
+ ${{ runner.os }}-test-${{ env.cache-name }}-
129
+ ${{ runner.os }}-test-
130
+ ${{ runner.os }}-
131
+ - shell : bash
132
+ env :
133
+ WLSLICENSE : ${{ secrets.WLSLICENSE }}
134
+ run : |
135
+ mkdir -p /opt/gurobi
136
+ echo "$WLSLICENSE" > /opt/gurobi/gurobi.lic
137
+ - uses : julia-actions/julia-buildpkg@v1
138
+ - name : Test
139
+ shell : julia --color=yes {0}
140
+ run : |
141
+ import Pkg
142
+ Pkg.develop(Pkg.PackageSpec(; path = pwd()))
143
+ Pkg.develop("Gurobi")
144
+ Pkg.test("Gurobi")
113
145
# TODO(odow): enable testing Xpress
114
146
# test-windows:
115
147
# name: ${{ matrix.package }}
You can’t perform that action at this time.
0 commit comments