Skip to content

Commit

Permalink
Merge pull request #2194 from numbbo/release
Browse files Browse the repository at this point in the history
for release 2.6.3
  • Loading branch information
brockho authored Apr 6, 2023
2 parents 09bc364 + fb4f473 commit ffad392
Show file tree
Hide file tree
Showing 83 changed files with 2,605 additions and 1,050 deletions.
9 changes: 8 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
version: 2

on:
push:
branches-ignore:
- 'gh-pages'
paths-ignore:
- 'README.md'

jobs:

test_ubuntu_rolling_python3:
Expand Down Expand Up @@ -36,7 +43,7 @@ jobs:
command: apt-get install -y libclang-dev
- run:
name: Install bindgen with cargo
command: cargo install bindgen
command: cargo install bindgen-cli
# - run:
# name: Install tkinter with apt-get
# command: apt-get install -y python3-tk
Expand Down
34 changes: 22 additions & 12 deletions .github/workflows/cmake.yml
Original file line number Diff line number Diff line change
@@ -1,26 +1,36 @@
name: CMake
name: ci_cmake

on:
workflow_dispatch:
push:
paths:
- "do.py"
- ".github/workflows/cmake.yml"
- "code-experiments/build/c/CMakeLists.txt"
- "code-experiments/src/**.c"
- "code-experiments/src/**.h"
pull_request:
branches: [ master, development ]

env:
BUILD_TYPE: Release
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
build:
runs-on: ubuntu-latest

strategy:
matrix:
build_type: [Release, Debug]
os: [ubuntu-latest, windows-latest]
runs-on: ${{matrix.os}}
steps:
- uses: actions/checkout@v2

- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Build C amalgamation
run: python ${{github.workspace}}/do.py build-c

run: python ${{github.workspace}}/do.py amalgamate-c
- name: Configure CMake
run: cmake -S ${{github.workspace}}/code-experiments/build/c/ -B ${{github.workspace}}/code-experiments/build/c/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}

run: cmake -S ${{github.workspace}}/code-experiments/build/c/ -B build/ -DCMAKE_BUILD_TYPE=${{matrix.build_type}}
- name: Build
run: cmake --build ${{github.workspace}}/code-experiments/build/c/build --config ${{env.BUILD_TYPE}}
run: cmake --build build/ --config ${{matrix.build_type}}
75 changes: 75 additions & 0 deletions .github/workflows/meson.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
name: ci_meson

on:
push:
paths:
- "do.py"
- ".github/workflows/meson.yml"
- "code-experiments/build/c/meson.build"
- "code-experiments/src/**.c"
- "code-experiments/src/**.h"
pull_request:
branches: [ master, development ]

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.9'
- run: pip install meson ninja
- run: python ${{github.workspace}}/do.py amalgamate-c
- run: meson setup builddir/ ${{github.workspace}}/code-experiments/build/c/
env:
CC: gcc
- run: meson test -C builddir/ -v
- uses: actions/upload-artifact@v1
if: failure()
with:
name: Linux_Meson_Testlog
path: builddir/meson-logs/testlog.txt

macos:
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.9'
- run: brew install gcc
- run: pip install meson ninja
- run: python ${{github.workspace}}/do.py amalgamate-c
- run: meson setup builddir/ ${{github.workspace}}/code-experiments/build/c/
env:
CC: gcc
- run: meson test -C builddir/ -v
- uses: actions/upload-artifact@v1
if: failure()
with:
name: MacOS_Meson_Testlog
path: builddir/meson-logs/testlog.txt

windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.9'
- run: pip install meson ninja
- run: python ${{github.workspace}}/do.py amalgamate-c
- run: meson setup builddir/ ${{github.workspace}}/code-experiments/build/c/
env:
CC: gcc
- run: meson test -C builddir/ -v
- uses: actions/upload-artifact@v1
if: failure()
with:
name: Windows_Meson_Testlog
path: builddir/meson-logs/testlog.txt
35 changes: 35 additions & 0 deletions .github/workflows/python.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: ci_python

on:
push:
paths:
- "do.py"
- ".github/workflows/python.yml"
- "code-experiments/build/python/*"
- "code-experiments/src/**.c"
- "code-experiments/src/**.h"
pull_request:
branches: [ master, development ]

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
run:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
runs-on: ${{matrix.os}}
defaults:
run:
working-directory: ${{github.workspace}}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: ${{matrix.version}}
cache: "pip"
- run: pip install -r code-experiments/build/python/requirements.txt
- run: python do.py verbose run-python --user and-test
26 changes: 26 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: ci_rust

on:
push:
paths:
- "do.py"
- ".github/workflows/rust.yml"
- "code-experiments/build/rust/**"
- "code-experiments/src/**.c"
- "code-experiments/src/**.h"
pull_request:
branches: [ master, development ]

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.9'
- run: python ${{github.workspace}}/do.py build-rust
30 changes: 30 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
*.o
.*.pyc
.*\.orig
.*\.swp
REVISION
VERSION
__pycache__
*.egg-info/


code-experiments/build/*/coco.[ch]
code-experiments/build/c/Makefile
code-experiments/build/c/example_experiment
code-experiments/build/python/build/
code-experiments/build/python/dist/
code-experiments/examples/*/coco.[ch]
code-experiments/test/*/coco.[ch]
code-experiments/test/example-test/
code-experiments/test/integration-test/Makefile
code-experiments/test/integration-test/bbob2009_testcases.txt
code-experiments/test/integration-test/bbob2009_testcases2.txt
code-experiments/test/integration-test/test_bbob-constrained
code-experiments/test/integration-test/test_bbob-largescale
code-experiments/test/integration-test/test_bbob-mixint
code-experiments/test/integration-test/test_biobj
code-experiments/test/integration-test/test_coco
code-experiments/test/integration-test/test_instance_extraction

code-postprocessing/build/
code-postprocessing/dist/
29 changes: 0 additions & 29 deletions .hgignore

This file was deleted.

68 changes: 68 additions & 0 deletions .mailmap
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
<nicolaum@bd143551-dd2f-0410-b9f7-ac39b51fe4c9>
Alexandre Chotard <chotard_a@bd143551-dd2f-0410-b9f7-ac39b51fe4c9>
Anne Auger <[email protected]>
Anne Auger <[email protected]> <[email protected]>
Anne Auger <[email protected]> <auger@bd143551-dd2f-0410-b9f7-ac39b51fe4c9>
Anne Auger <[email protected]> <[email protected]>
Anne Auger <[email protected]> <[email protected]>
Anne Auger <[email protected]> <[email protected]>
Asma Atamna <[email protected]>
Asma Atamna <[email protected]> <aatamna@bd143551-dd2f-0410-b9f7-ac39b51fe4c9>
Asma Atamna <[email protected]> <[email protected]>
Asma Atamna <[email protected]> <[email protected]>
Asma Atamna <[email protected]> <[email protected]>
Bernd Bischl <[email protected]>
Bernd Bischl <[email protected]> <bernd_bischl@bd143551-dd2f-0410-b9f7-ac39b51fe4c9>
Dejan Tušar <[email protected]>
Dejan Tušar <[email protected]> <dejan@bd143551-dd2f-0410-b9f7-ac39b51fe4c9>
Dejan Tušar <[email protected]> <[email protected]>
Dimo Brockhof <[email protected]>
Dimo Brockhof <[email protected]> <brockho@bd143551-dd2f-0410-b9f7-ac39b51fe4c9>
Duc Manh Nguyen <[email protected]>
Filip Matzner <[email protected]>
GitHub <[email protected]>
Heike Trautmann <[email protected]> <trautmann@bd143551-dd2f-0410-b9f7-ac39b51fe4c9>
Konstantinos Varelas <[email protected]>
Leopold Luley <[email protected]>
Manuel López-Ibáñez <[email protected]>
Mike Preuss <[email protected]>
Mike Preuss <[email protected]> <mikepreuss@bd143551-dd2f-0410-b9f7-ac39b51fe4c9>
Nikolaus Hansen <[email protected]>
Nikolaus Hansen <[email protected]> <[email protected]>
Nikolaus Hansen <[email protected]> <hansen@bd143551-dd2f-0410-b9f7-ac39b51fe4c9>
Nikolaus Hansen <[email protected]> <[email protected]>
Nikolaus Hansen <[email protected]> <[email protected]>
Nikolaus Hansen <[email protected]> <[email protected]>
Olaf Mersmann <[email protected]>
Olaf Mersmann <[email protected]> <olafm@bd143551-dd2f-0410-b9f7-ac39b51fe4c9>
Olaf Mersmann <[email protected]> <[email protected]>
Oswin Krause <[email protected]>
Ouassim Ait ElHara <[email protected]>
Ouassim Ait ElHara <[email protected]> <ait_elhara@bd143551-dd2f-0410-b9f7-ac39b51fe4c9>
Ouassim Ait ElHara <[email protected]> <[email protected]>
Ouassim Ait ElHara <[email protected]> <[email protected]>
Paul Dufossé <[email protected]>
Paul Dufossé <[email protected]> <[email protected]>
Paul Dufossé <[email protected]> <{ID}+{username}@users.noreply.github.com>
Paul Dufossé <[email protected]> <{ID}+{username}@users.noreply.github.com>
Paweł Szynkiewicz <sed s/x/pszynk/ [email protected]>
Petr Pošík <[email protected]>
Petr Pošík <[email protected]> <petrposik@bd143551-dd2f-0410-b9f7-ac39b51fe4c9>
Petr Pošík <[email protected]> <[email protected]>
Phillipe Rodrigues Sampaio <[email protected]>
Phillipe Sampaio <[email protected]>
Raymond Ros <[email protected]> <rros@bd143551-dd2f-0410-b9f7-ac39b51fe4c9>
Tea Tušar <[email protected]>
Tea Tušar <[email protected]> <[email protected]>
Tea Tušar <[email protected]> <[email protected]>
Tea Tušar <[email protected]> <ttusar@bd143551-dd2f-0410-b9f7-ac39b51fe4c9>
Tea Tušar <[email protected]> <[email protected]>
Thanh-Do Tran <[email protected]>
Tobias Wagner <[email protected]>
Tomas Giro <[email protected]>
Umut Batu <[email protected]>
Verena Heidrich-Meisner <vhm@bd143551-dd2f-0410-b9f7-ac39b51fe4c9>
Youhei Akimoto <[email protected]> <youhei@bd143551-dd2f-0410-b9f7-ac39b51fe4c9>
evomarc <evomarc@bd143551-dd2f-0410-b9f7-ac39b51fe4c9>
finck <finck@bd143551-dd2f-0410-b9f7-ac39b51fe4c9>
islandblue <[email protected]>
1 change: 1 addition & 0 deletions LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,5 @@ We acknowledge in particular:
``code-experiments/test/unit-test/minunit_c89.h``, distributed under
the terms of the MIT Licence.
* the Rust code by Leopold Luley in `code-experiments/build/rust/`, distributed unter the terms of both the MIT License and the Apache 2.0 License.
* the code for Brent's method in ``code-experiments/src/brentq.c`` is a modified copy of ``scipy.optimize.brentq`` originally written by Charles Harris and distributed under the BSD 3-Clause "New" or "Revised" License.

Loading

0 comments on commit ffad392

Please sign in to comment.