[client] ci: fix clang build

Our code to generate object files from shaders with the linker seems to
depend on GNU ld. More accurately, it works with lld, but we must specify
the correct object format via -m, which is very difficult to detect in a
satisfactory manner. Therefore we simply force use of GNU ld.
This commit is contained in:
Quantum 2021-07-21 20:49:35 -04:00 committed by Geoffrey McRae
parent e58506f1a5
commit ed18ead1ff

View File

@ -33,7 +33,11 @@ jobs:
run: | run: |
mkdir client/build mkdir client/build
cd client/build cd client/build
cmake -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} -DENABLE_SDL=ON .. cmake \
-DCMAKE_BUILD_TYPE=${{ matrix.build_type }} \
-DCMAKE_LINKER:FILEPATH=/usr/bin/ld \
-DENABLE_SDL=ON \
..
- name: Build client - name: Build client
run: | run: |
cd client/build cd client/build