8000 Build only 64 bit in ci by surgura · Pull Request #18 · ci-group/MultiNEAT · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Build only 64 bit in ci #18

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 10 commits into from
Oct 10, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file 8000
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions .github/workflows/build_wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,15 @@ jobs:
- uses: actions/setup-python@v3

- name: Install cibuildwheel
run: python -m pip install cibuildwheel==2.15.0
run: python -m pip install cibuildwheel==2.16.2

- name: Build wheels
run: python -m cibuildwheel --output-dir dist
env:
CIBW_BUILD: cp38-* cp39-* cp310-* cp311-* cp312-* # build for 3.8 and higher
CIBW_ARCHS_MACOS: x86_64 arm64 # explicitly also build for mac arm processors
CIBW_ARCHS_WINDOWS: AMD64
CIBW_ARCHS_MACOS: x86_64 arm64
CIBW_ARCHS_LINUX: x86_64

- uses: actions/upload-artifact@v3
with:
Expand Down
22 changes: 11 additions & 11 deletions .github/workflows/c-cpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,16 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v3
with:
submodules: 'recursive'
- name: dependencies
run: sudo apt install -y libboost-all-dev
- name: cmake
run: cmake -B build -DENABLE_TESTING=ON
- name: build
run: cmake --build build
- name: test
run: cd build && ctest
- name: install
run: sudo cmake --build build --target install
- name: dependencies
run: sudo apt install -y libboost-all-dev
- name: cmake
run: cmake -B build -DENABLE_TESTING=ON
- name: build
run: cmake --build build
- name: test
run: cd build && ctest
- name: install
run: sudo cmake --build build --target install
34 changes: 17 additions & 17 deletions .github/workflows/python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,22 +12,22 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v3
with:
submodules: 'recursive'
- name: dependencies
run: sudo apt install -y libboost-all-dev python3-pybind11 pybind11-dev
- name: pip install
run: pip install .
- name: test import
run: cd tests/python && ./test_import.py
- name: test raw genome
run: cd tests/python && ./test_raw_genome.py
- name: test xor
run: cd tests/python && ./test_xor.py
- name: configure tests
run: cmake -B build -DGENERATE_PYTHON_BINDINGS=ON -DENABLE_TESTING=ON
- name: build tests
run: cmake --build build
- name: run cmake tests
run: cmake --build build --target test
- name: dependencies
run: sudo apt install -y libboost-all-dev python3-pybind11 pybind11-dev
- name: pip install
run: pip install .
- name: test import
run: cd tests/python && ./test_import.py
- name: test raw genome
run: cd tests/python && ./test_raw_genome.py
- name: test xor
run: cd tests/python && ./test_xor.py
- name: configure tests
run: cmake -B build -DGENERATE_PYTHON_BINDINGS=ON -DENABLE_TESTING=ON
- name: build tests
run: cmake --build build
- name: run cmake tests
run: cmake --build build --target test
0