Skip to content

Commit

Permalink
update workflow files
Browse files Browse the repository at this point in the history
  • Loading branch information
sameeul committed Nov 7, 2023
1 parent 7eca14d commit c187714
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 14 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/wheel_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ jobs:
MACOSX_DEPLOYMENT_TARGET: "10.15"
strategy:
matrix:
os: [ubuntu-latest]
os: [ubuntu-20.04, macos-11, windows-latest]
cibw_archs: ["auto64"]
cibw_build: ["cp39-*"]
cibw_build: ["cp38-*", "cp39-*", "cp310-*", "cp311-*"]

steps:
- uses: actions/checkout@v3
Expand Down
13 changes: 7 additions & 6 deletions ci-utils/install_prereq_linux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,19 +14,20 @@ fi
mkdir -p $LOCAL_INSTALL_DIR
mkdir -p $LOCAL_INSTALL_DIR/include

curl -L https://github.com/PolusAI/filepattern/archive/refs/heads/master.zip -o filepattern.zip
unzip filepattern.zip
cd filepattern-master/
curl -L https://github.com/PolusAI/filepattern/archive/refs/tags/v2.0.3.zip -o v2.0.3.zip
unzip v2.0.3.zip
cd filepattern-2.0.3
mkdir build
cd build
cmake -Dfilepattern_SHARED_LIB=ON -DCMAKE_PREFIX_PATH=../../$LOCAL_INSTALL_DIR -DCMAKE_INSTALL_PREFIX=../../$LOCAL_INSTALL_DIR ../src/filepattern/cpp
make install -j4
cd ../../

git clone https://github.com/pybind/pybind11.git
cd pybind11
curl -L https://github.com/pybind/pybind11/archive/refs/tags/v2.11.1.zip -o v2.11.1.zip
unzip v2.11.1.zip
cd pybind11-2.11.1
mkdir build_man
cd build_man/
cd build_man
cmake -DCMAKE_INSTALL_PREFIX=../../$LOCAL_INSTALL_DIR/ -DPYBIND11_TEST=OFF ..
make install -j4
cd ../../
13 changes: 7 additions & 6 deletions ci-utils/install_prereq_win.bat
Original file line number Diff line number Diff line change
@@ -1,18 +1,19 @@
mkdir local_install
mkdir local_install\include

curl -L https://github.com/PolusAI/filepattern/archive/refs/heads/master.zip -o filepattern.zip
tar -xvf filepattern.zip
pushd filepattern-master
curl -L https://github.com/PolusAI/filepattern/archive/refs/tags/v2.0.3.zip -o v2.0.3.zip
tar -xvf v2.0.3.zip
pushd filepattern-2.0.3
mkdir build
pushd build
cmake -Dfilepattern_SHARED_LIB=ON -DCMAKE_PREFIX_PATH=../../local_install -DCMAKE_INSTALL_PREFIX=../../local_install ..
cmake -Dfilepattern_SHARED_LIB=ON -DCMAKE_PREFIX_PATH=../../local_install -DCMAKE_INSTALL_PREFIX=../../local_install ../src/filepattern/cpp
cmake --build . --config Release --target install --parallel 4
popd
popd

git clone https://github.com/pybind/pybind11.git
pushd pybind11
curl -L https://github.com/pybind/pybind11/archive/refs/tags/v2.11.1.zip -o v2.11.1.zip
tar -xvf v2.11.1.zip
pushd pybind11-2.11.1
mkdir build_man
pushd build_man
cmake -DCMAKE_INSTALL_PREFIX=../../local_install/ -DPYBIND11_TEST=OFF ..
Expand Down

0 comments on commit c187714

Please sign in to comment.