mirror of
https://github.com/TheLartians/ModernCppStarter.git
synced 2025-08-30 21:51:12 +02:00
format workflow files
This commit is contained in:
parent
69332a7acc
commit
f0a1e58618
7 changed files with 19 additions and 25 deletions
6
.github/workflows/documentation.yaml
vendored
6
.github/workflows/documentation.yaml
vendored
|
@ -3,7 +3,7 @@ name: Documentation
|
|||
on:
|
||||
push:
|
||||
tags:
|
||||
- '*'
|
||||
- "*"
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
@ -14,7 +14,7 @@ jobs:
|
|||
|
||||
- uses: actions/cache@v2
|
||||
with:
|
||||
path: '**/cpm_modules'
|
||||
path: "**/cpm_modules"
|
||||
key: ${{ runner.os }}-cpm-${{ hashFiles('**/CMakeLists.txt', '**/*.cmake') }}
|
||||
|
||||
- name: Install dependencies
|
||||
|
@ -24,7 +24,7 @@ jobs:
|
|||
|
||||
- name: Build
|
||||
env:
|
||||
CPM_SOURCE_CACHE: ${{ github.workspace }}/cpm_modules
|
||||
CPM_SOURCE_CACHE: ${{ github.workspace }}/cpm_modules
|
||||
run: |
|
||||
cmake -Sdocumentation -Bbuild
|
||||
cmake --build build --target GenerateDocs
|
||||
|
|
5
.github/workflows/install.yml
vendored
5
.github/workflows/install.yml
vendored
|
@ -13,15 +13,14 @@ env:
|
|||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
|
||||
- uses: actions/cache@v2
|
||||
with:
|
||||
path: '**/cpm_modules'
|
||||
path: "**/cpm_modules"
|
||||
key: ${{ runner.os }}-cpm-${{ hashFiles('**/CMakeLists.txt', '**/*.cmake') }}
|
||||
|
||||
- name: build and install library
|
||||
|
|
7
.github/workflows/macos.yml
vendored
7
.github/workflows/macos.yml
vendored
|
@ -13,15 +13,14 @@ env:
|
|||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
runs-on: macos-latest
|
||||
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
|
||||
|
||||
- uses: actions/cache@v2
|
||||
with:
|
||||
path: '**/cpm_modules'
|
||||
path: "**/cpm_modules"
|
||||
key: ${{ runner.os }}-cpm-${{ hashFiles('**/CMakeLists.txt', '**/*.cmake') }}
|
||||
|
||||
- name: configure
|
||||
|
|
7
.github/workflows/standalone.yml
vendored
7
.github/workflows/standalone.yml
vendored
|
@ -10,15 +10,14 @@ on:
|
|||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
|
||||
|
||||
- uses: actions/cache@v2
|
||||
with:
|
||||
path: '**/cpm_modules'
|
||||
path: "**/cpm_modules"
|
||||
key: ${{ runner.os }}-cpm-${{ hashFiles('**/CMakeLists.txt', '**/*.cmake') }}
|
||||
|
||||
- name: configure
|
||||
|
|
7
.github/workflows/style.yml
vendored
7
.github/workflows/style.yml
vendored
|
@ -10,15 +10,14 @@ on:
|
|||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
runs-on: macos-latest
|
||||
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
|
||||
|
||||
- uses: actions/cache@v2
|
||||
with:
|
||||
path: '**/cpm_modules'
|
||||
path: "**/cpm_modules"
|
||||
key: ${{ runner.os }}-cpm-${{ hashFiles('**/CMakeLists.txt', '**/*.cmake') }}
|
||||
|
||||
- name: Install format dependencies
|
||||
|
|
5
.github/workflows/ubuntu.yml
vendored
5
.github/workflows/ubuntu.yml
vendored
|
@ -14,15 +14,14 @@ env:
|
|||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
|
||||
- uses: actions/cache@v2
|
||||
with:
|
||||
path: '**/cpm_modules'
|
||||
path: "**/cpm_modules"
|
||||
key: ${{ runner.os }}-cpm-${{ hashFiles('**/CMakeLists.txt', '**/*.cmake') }}
|
||||
|
||||
- name: configure
|
||||
|
|
7
.github/workflows/windows.yml
vendored
7
.github/workflows/windows.yml
vendored
|
@ -13,15 +13,14 @@ env:
|
|||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
runs-on: windows-latest
|
||||
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
|
||||
|
||||
- uses: actions/cache@v2
|
||||
with:
|
||||
path: '**/cpm_modules'
|
||||
path: "**/cpm_modules"
|
||||
key: ${{ runner.os }}-cpm-${{ hashFiles('**/CMakeLists.txt', '**/*.cmake') }}
|
||||
|
||||
- name: configure
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue