Change compiler to clang

This commit is contained in:
James
2022-03-04 18:14:52 +00:00
parent b3e4ba50a2
commit f63948b295
2 changed files with 5 additions and 3 deletions

View File

@@ -26,9 +26,11 @@ build-job: # This job runs in the build stage, which runs first.
- linux
before_script:
- apt update
- apt install -y build-essential cmake libgtkmm-3.0-dev clang-tidy
- apt install -y clang cmake libgtkmm-3.0-dev clang-tidy
script:
- echo "Configuring"
- export CC=/usr/bin/clang
- export CXX=/usr/bin/clang++
- cmake -B build .
- echo "Building"
- cmake --build build

View File

@@ -11,12 +11,12 @@ Optional:
### Debian based
```bash
sudo apt install -y cmake libgtkmm-3.0-dev clang-tidy
sudo apt install -y clang cmake libgtkmm-3.0-dev clang-tidy
```
### Fedora
```bash
sudo dnf install cmake gtkmm30-devel clang-tools-extra
sudo dnf install clang cmake gtkmm30-devel clang-tools-extra
```
Then: