Merge envs in workflows (#74)
* also use cache in install test * merge envs
This commit is contained in:
parent
db49d07ca1
commit
b58e0717f4
7 changed files with 14 additions and 15 deletions
5
.github/workflows/style.yml
vendored
5
.github/workflows/style.yml
vendored
|
@ -8,6 +8,9 @@ on:
|
|||
branches:
|
||||
- master
|
||||
|
||||
env:
|
||||
CPM_SOURCE_CACHE: ${{ github.workspace }}/cpm_modules
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: macos-latest
|
||||
|
@ -26,8 +29,6 @@ jobs:
|
|||
pip3 install cmake_format==0.6.11 pyyaml
|
||||
|
||||
- name: configure
|
||||
env:
|
||||
CPM_SOURCE_CACHE: ${{ github.workspace }}/cpm_modules
|
||||
run: cmake -Stest -Bbuild
|
||||
|
||||
- name: check style
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue