Skip to content

Commit

Permalink
Update cmake.yml: Install GCC
Browse files Browse the repository at this point in the history
  • Loading branch information
austinEng authored Oct 31, 2023
1 parent 7c8d632 commit 09591ea
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ jobs:
os: [ubuntu-latest, windows-latest, macos-latest]
build_type: [Release]
c_compiler: [gcc, clang, cl]
python-version: ["3.11"]
include:
- os: windows-latest
c_compiler: cl
Expand Down Expand Up @@ -67,10 +66,14 @@ jobs:
sudo apt update
sudo apt install libgl-dev libx11-xcb-dev libxrandr-dev libxinerama-dev libxcursor-dev libxi-dev libxext-dev wayland-protocols libwayland-dev libxkbcommon-dev
- name: Set up Python ${{ matrix.python-version }}
- name: Install GCC
if: matrix.c_compiler == 'gcc'
run: sudo apt install gcc g++

- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
python-version: 3.11

- name: Fetch dependencies
run: python ./tools/fetch_dawn_dependencies.py --use-test-deps --shallow
Expand All @@ -82,7 +85,7 @@ jobs:
if: matrix.os == 'windows-latest'
uses: seanmiddleditch/gha-setup-vsdevenv@master

- name: Setup sccache
- name: Set up sccache
uses: mozilla-actions/[email protected]

- name: Configure CMake
Expand Down

0 comments on commit 09591ea

Please sign in to comment.