Skip to content

Commit bfb50e2

Browse files
committed
Update dependencies and ci configuration
1 parent e6bc0be commit bfb50e2

File tree

3 files changed

+15
-11
lines changed

3 files changed

+15
-11
lines changed

.github/workflows/build_doc.yml

+7-6
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ on:
22
push:
33
tags:
44
- '*'
5-
pull_request:
65

76
env:
87
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -14,11 +13,13 @@ jobs:
1413
steps:
1514
- uses: actions/checkout@v3
1615
- run: |
17-
sudo apt-get install -y libcgal-dev libboost1.74-all-dev libmpfr-dev libgmp-dev cmake wget unzip clang libstdc++-11-dev
18-
wget https://gitlab.com/Oslandia/SFCGAL/-/archive/v1.4.1/SFCGAL-v1.4.1.zip
19-
unzip SFCGAL-v1.4.1.zip
20-
cd SFCGAL-v1.4.1 && cmake -DCMAKE_INSTALL_PREFIX=/usr . && make && sudo make install && cd ..
21-
- run: cargo test --all-features
16+
sudo apt-get install -y libboost1.74-all-dev libmpfr-dev libgmp-dev cmake wget unzip clang libstdc++-11-dev
17+
wget https://github.com/CGAL/cgal/releases/download/v5.6.1/CGAL-5.6.1-library.tar.xz
18+
wget https://gitlab.com/SFCGAL/SFCGAL/-/archive/v1.5.0/SFCGAL-v1.5.0.zip
19+
tar -xf CGAL-5.6.1-library.tar.xz
20+
unzip SFCGAL-v1.5.0.zip
21+
cd CGAL-5.6.1 && cmake . && sudo make install && cd ..
22+
cd $(ls -d */ | grep SFC) && cmake -DCMAKE_INSTALL_PREFIX=/usr . && make && sudo make install && cd ..
2223
- run: |
2324
cargo doc
2425
echo "<meta http-equiv=refresh content=0;url=sfcgal_sys/index.html>" > target/doc/index.html

.github/workflows/test.yml

+7-4
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,11 @@ jobs:
1111
steps:
1212
- uses: actions/checkout@v3
1313
- run: |
14-
sudo apt-get install -y libcgal-dev libboost1.74-all-dev libmpfr-dev libgmp-dev cmake wget unzip clang libstdc++-11-dev
15-
wget https://gitlab.com/Oslandia/SFCGAL/-/archive/v1.4.1/SFCGAL-v1.4.1.zip
16-
unzip SFCGAL-v1.4.1.zip
17-
cd SFCGAL-v1.4.1 && cmake -DCMAKE_INSTALL_PREFIX=/usr . && make && sudo make install && cd ..
14+
sudo apt-get install -y libboost1.74-all-dev libmpfr-dev libgmp-dev cmake wget unzip clang libstdc++-11-dev
15+
wget https://github.com/CGAL/cgal/releases/download/v5.6.1/CGAL-5.6.1-library.tar.xz
16+
wget https://gitlab.com/SFCGAL/SFCGAL/-/archive/v1.5.0/SFCGAL-v1.5.0.zip
17+
tar -xf CGAL-5.6.1-library.tar.xz
18+
unzip SFCGAL-v1.5.0.zip
19+
cd CGAL-5.6.1 && cmake . && sudo make install && cd ..
20+
cd $(ls -d */ | grep SFC) && cmake -DCMAKE_INSTALL_PREFIX=/usr . && make && sudo make install && cd ..
1821
- run: cargo test --all-features

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,5 @@ repository = "https://github.com/mthh/sfcgal-sys"
1515
categories = ["external-ffi-bindings"]
1616

1717
[build-dependencies]
18-
bindgen = "0.64.0"
18+
bindgen = "0.69"
1919
cc = "1.0"

0 commit comments

Comments
 (0)