Skip to content

Commit

Permalink
added variable to control cmake version in ci
Browse files Browse the repository at this point in the history
  • Loading branch information
sbrkopac committed Nov 16, 2021
1 parent 8dc0541 commit 6032b62
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
pull_request:
env:
VulkanSDKVersion: 1.2.162.1
CMakeVersion: 3.7.x
jobs:
linux-build:
runs-on: ubuntu-latest
Expand All @@ -14,7 +15,7 @@ jobs:
- name: Setup cmake
uses: jwlawson/[email protected]
with:
cmake-version: '3.7.x'
cmake-version: ${{env.CMakeVersion}}
- uses: actions/checkout@v2
- name: Cache
id: cache
Expand Down Expand Up @@ -49,6 +50,10 @@ jobs:
windows-build:
runs-on: windows-latest
steps:
- name: Setup cmake
uses: jwlawson/[email protected]
with:
cmake-version: ${{env.CMakeVersion}}
- uses: actions/checkout@v2
- name: Set env
id: env
Expand Down Expand Up @@ -79,6 +84,10 @@ jobs:
windows-dll-build:
runs-on: windows-latest
steps:
- name: Setup cmake
uses: jwlawson/[email protected]
with:
cmake-version: ${{env.CMakeVersion}}
- uses: actions/checkout@v2
- name: Set env
id: env
Expand Down

0 comments on commit 6032b62

Please sign in to comment.