File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ How to Update
2+ =============
3+
4+ 1 . Update nlopt submodule
5+ ``` shell
6+ git submodule update --remote
7+ # if there are changes
8+ git add extern/
9+ git commit -m " Update nlopt submodule"
10+ ```
11+ 2 . ` [Optional] ` If there is a need, update the ` ci/nlopt_manylinux2014_x64_64.Dockerfile ` image. This is used to build
12+ the linux images
13+ * This should be done in ` image/* ` branch as the github action ` manylinux-image.yml ` will automatically update the
14+ image in dockerhub on push.
15+ 3 . Update ` .github/workflows/build.yaml ` if necessary
16+ 4 . There are already tests in the github workflows to test that ` pip install nlopt ` works. But none to test the module specifically
17+ 1 . Spin up a docker image and run the sample code
18+ 2 . ``` shell
19+ docker container run -it --rm --entrypoint bash python:3.10-slim-buster
20+ pip install nlopt
21+ apt-get update
22+ apt-get install curl -y
23+ curl https://raw.githubusercontent.com/DanielBok/nlopt-python/master/test_scripts/sample_test_script.py --output test.py
24+ python test.py
25+ ```
You can’t perform that action at this time.
0 commit comments