diff --git a/.github/workflows/build_wheels.yml b/.github/workflows/build_wheels.yml index d57ab14..c80a6b9 100644 --- a/.github/workflows/build_wheels.yml +++ b/.github/workflows/build_wheels.yml @@ -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: diff --git a/.github/workflows/c-cpp.yml b/.github/workflows/c-cpp.yml index 203a1fc..c924d21 100644 --- a/.github/workflows/c-cpp.yml +++ b/.github/workflows/c-cpp.yml @@ -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 diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml index 4d39148..785d23e 100644 --- a/.github/workflows/python.yml +++ b/.github/workflows/python.yml @@ -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