Skip to content

Commit

Permalink
Work in progress
Browse files Browse the repository at this point in the history
  • Loading branch information
skhaz committed Dec 16, 2024
1 parent 00c33f7 commit 6a3ad1e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,11 @@ jobs:
- name: Sol2 Workaround for WebAssembly
if: matrix.config.name == 'WebAssembly'
run: |
sed -i 's/this->construct(/this->emplace(/g' /home/runner/.conan2/p/sol2*/p/include/sol/optional_implementation.hpp
for file in /home/runner/.conan2/p/sol2*/p/include/sol/optional_implementation.hpp; do
if [[ -f "$file" ]]; then
sed -i 's/this->construct(std::forward<Args>(args)...);/this->emplace(std::forward<Args>(args)...);/' "$file"
fi
done
- name: Configure
run: cmake .. -DCMAKE_TOOLCHAIN_FILE="conan_toolchain.cmake" -DCMAKE_BUILD_TYPE=Release
Expand Down

0 comments on commit 6a3ad1e

Please sign in to comment.