shithub: rgbds

Download patch

ref: ca1c934629ac7a74a00d1210b67bd6a535880640
parent: d5a00cf634d083efb00cd8feeb6c3ea44b63c258
author: ISSOtm <eldredhabert0@gmail.com>
date: Tue Jan 19 11:33:38 EST 2021

Have CMake use specified compiler in CI, not system default

Otherwise it's just GCC on Linux and Clang on macOS...

--- a/.github/workflows/testing.yml
+++ b/.github/workflows/testing.yml
@@ -34,7 +34,7 @@
         if: matrix.buildsys == 'make'
       - name: Build & install using CMake
         run: |
-          cmake -S . -B build -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_BUILD_TYPE=Release ${{ matrix.cmakevars }}
+          cmake -S . -B build -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER=${{ matrix.cc }} ${{ matrix.cmakevars }}
           cmake --build build
           cp build/src/rgb{asm,link,fix,gfx} .
           sudo cmake --install build