Skip to content

Commit

Permalink
fix: fix missing libstdc++-12-dev
Browse files Browse the repository at this point in the history
  • Loading branch information
4o3F committed Oct 5, 2024
1 parent 36e9fd4 commit 6b2487e
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
run: |
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
rustup target add x86_64-unknown-linux-musl
sudo apt-get update && sudo apt-get install musl-tools
sudo apt-get update && sudo apt-get install libstdc++-12-dev musl-tools
# Install opencv
#- name: Install opencv
Expand Down Expand Up @@ -79,8 +79,6 @@ jobs:
export OPENCV_LINK_PATHS=/opt/opencv/lib,/opt/opencv/lib/opencv4/3rdparty,/usr/lib/x86_64-linux-gnu
export OPENCV_INCLUDE_PATHS=/opt/opencv/include,/opt/opencv/include/opencv4
sudo ln -s /usr/lib/llvm-15/lib/libclang.so.1 /usr/lib/x86_64-linux-gnu/libclang.so
ls -R /opt/opencv
ls -R /usr/lib
cargo build --release --target x86_64-unknown-linux-musl
# Upload artifact: https://github.com/actions/upload-artifact
Expand Down

0 comments on commit 6b2487e

Please sign in to comment.