diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 2ae821e6..458fa707 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -21,11 +21,18 @@ jobs: tar -xzvf premake-5.0.0-alpha16-linux.tar.gz sudo mv premake5 /usr/local/bin/ - - name: Print current dir - run: ls + - name: Install Clang + run: | + sudo apt update + sudo apt install -y clang + + - name: Set CC and CXX environment variables + run: | + echo "CC=clang" >> $GITHUB_ENV + echo "CXX=clang++" >> $GITHUB_ENV - name: Run Premake run: premake5 gmake - name: Compile Project - run: make config=debug + run: make config=debug CC=clang