Skip to content

Commit

Permalink
Use clang-cl on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
shg8 committed Apr 2, 2024
1 parent c97ee72 commit 3dfe2b7
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/cmake-multi-platform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ jobs:
c_compiler: [gcc, clang, cl]
include:
- os: windows-latest
c_compiler: cl
cpp_compiler: cl
c_compiler: clang-cl
cpp_compiler: clang-cl
arch: amd64
- os: ubuntu-latest
c_compiler: gcc
Expand Down Expand Up @@ -77,17 +77,17 @@ jobs:
run: echo "ARTIFACT_PATH=${{ github.workspace }}/build/apps/viewer/3dgs_cpp_viewer" >> "$GITHUB_ENV"
if: runner.os != 'Windows'

- name: Install ninja (macOS)
- name: Install dependencies (macOS)
shell: bash
run: brew install ninja
if: runner.os == 'macOS'

- name: Install ninja (Windows)
- name: Install dependencies (Windows)
shell: bash
run: choco install ninja
if: runner.os == 'Windows'

- name: Install dependencies
- name: Install dependencies (Ubuntu)
if: matrix.os == 'ubuntu-latest'
run: sudo apt-get update && sudo apt-get install -y libglfw3-dev libglm-dev ninja-build

Expand Down

0 comments on commit 3dfe2b7

Please sign in to comment.