For Mono, use single precision - note that this does not work in unity
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user