[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 authored and Geoffrey McRae committed 2021-07-22 11:38:20 +10:00
1 parent e58506f1a5
commit ed18ead1ff
1 file changed
+5 -1
+5 -1
View File
@@ -33,7 +33,11 @@ jobs:
run: |
mkdir 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
run: |
cd client/build