File tree Expand file tree Collapse file tree 3 files changed +4
-18
lines changed Expand file tree Collapse file tree 3 files changed +4
-18
lines changed Original file line number Diff line number Diff line change 16
16
fail-fast : false
17
17
matrix :
18
18
version : ['1.6', '1'] # Test against LTS and current minor release
19
- os : [ubuntu-latest, macOS-latest] # MiniZinc_jll broken on windows-latest
19
+ os : [ubuntu-latest, macOS-latest, windows-latest]
20
20
arch : [x64]
21
21
steps :
22
22
- uses : actions/checkout@v4
Original file line number Diff line number Diff line change @@ -32,16 +32,8 @@ import Pkg
32
32
Pkg. add (" MiniZinc" )
33
33
```
34
34
35
- ** Windows**
36
-
37
- On Linux and macOS, this package automatically installs ` libminizinc ` . However,
38
- we're still working out problems with the install on Windows. To use
39
- MiniZinc.jl, you'll need to manually install a copy of ` libminizinc ` from
40
- [ minizinc.org] ( https://www.minizinc.org ) or compile one yourself from
41
- [ MiniZinc/libminizinc] ( https://github.com/MiniZinc/libminizinc ) .
42
-
43
- To teach MiniZinc.jl where to look for ` libminizinc ` , set the
44
- ` JULIA_LIBMINIZINC_DIR ` environment variable. For example:
35
+ To use a custom install of MiniZinc, set the ` JULIA_LIBMINIZINC_DIR ` environment
36
+ variable. For example:
45
37
``` julia
46
38
ENV [" JULIA_LIBMINIZINC_DIR" ] = " C:\\ Program Files\\ MiniZinc"
47
39
```
Original file line number Diff line number Diff line change @@ -61,14 +61,8 @@ function _minizinc_exe(f::F) where {F}
61
61
else
62
62
return f (joinpath (user_dir, " minizinc" ))
63
63
end
64
- elseif Sys. islinux () || Sys. isapple ()
65
- return f (MiniZinc_jll. minizinc ())
66
64
end
67
- return error (
68
- " Unable to call libminizinc. Please manually install a copy and set " *
69
- " the `JULIA_LIBMINIZINC_DIR` environment variable. See the README.md " *
70
- " for more details" ,
71
- )
65
+ return f (MiniZinc_jll. minizinc ())
72
66
end
73
67
74
68
function _run_minizinc (dest:: Optimizer )
You can’t perform that action at this time.
0 commit comments