For Mono, use single precision - note that this does not work in unity

This commit is contained in:
Mattia Montanari
2023-04-02 12:07:12 +02:00
parent 14fc2d80d6
commit bb5b5d44dd
2 changed files with 23 additions and 22 deletions

View File

@@ -30,8 +30,9 @@ jobs:
uses: actions/checkout@v3
- run: apt-get update && apt-get install gcc cmake -y
- run: cmake -E make_directory build
- run: cmake -E chdir build cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_MONO=ON ..
- run: cmake --build build
# Using single precision
- run: cmake -E chdir build cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_MONO=ON -DSINGLE_PRECISION=ON ..
- run: cmake --build build --target opengjk_ce
- run: cmake -E chdir build make install
- run: cd examples/cs/ && mcs -out:main.exe main.cs && mono main.exe