mirror of
https://github.com/ToruNiina/toml11.git
synced 2025-12-16 03:08:52 +08:00
ci: add missing cpu-cores var
This commit is contained in:
18
.github/workflows/main.yml
vendored
18
.github/workflows/main.yml
vendored
@@ -45,6 +45,9 @@ jobs:
|
|||||||
- {compiler: '12', standard: '20'}
|
- {compiler: '12', standard: '20'}
|
||||||
- {compiler: '11', standard: '20'}
|
- {compiler: '11', standard: '20'}
|
||||||
steps:
|
steps:
|
||||||
|
- name: Get number of CPU cores
|
||||||
|
uses: SimenB/github-actions-cpu-cores@v2
|
||||||
|
id: cpu-cores
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
@@ -75,6 +78,9 @@ jobs:
|
|||||||
- {compiler: 'g++-8', standard: '17'}
|
- {compiler: 'g++-8', standard: '17'}
|
||||||
- {compiler: 'g++-8', standard: '20'}
|
- {compiler: 'g++-8', standard: '20'}
|
||||||
steps:
|
steps:
|
||||||
|
- name: Get number of CPU cores
|
||||||
|
uses: SimenB/github-actions-cpu-cores@v2
|
||||||
|
id: cpu-cores
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
@@ -107,6 +113,9 @@ jobs:
|
|||||||
- {compiler: '8', standard: '20'}
|
- {compiler: '8', standard: '20'}
|
||||||
- {compiler: '9', standard: '20'}
|
- {compiler: '9', standard: '20'}
|
||||||
steps:
|
steps:
|
||||||
|
- name: Get number of CPU cores
|
||||||
|
uses: SimenB/github-actions-cpu-cores@v2
|
||||||
|
id: cpu-cores
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
@@ -157,6 +166,9 @@ jobs:
|
|||||||
standard: ['11', '14', '17', '20']
|
standard: ['11', '14', '17', '20']
|
||||||
precompile: ['ON', 'OFF']
|
precompile: ['ON', 'OFF']
|
||||||
steps:
|
steps:
|
||||||
|
- name: Get number of CPU cores
|
||||||
|
uses: SimenB/github-actions-cpu-cores@v2
|
||||||
|
id: cpu-cores
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
@@ -178,6 +190,9 @@ jobs:
|
|||||||
standard: ['11', '14', '17', '20']
|
standard: ['11', '14', '17', '20']
|
||||||
precompile: ['ON', 'OFF']
|
precompile: ['ON', 'OFF']
|
||||||
steps:
|
steps:
|
||||||
|
- name: Get number of CPU cores
|
||||||
|
uses: SimenB/github-actions-cpu-cores@v2
|
||||||
|
id: cpu-cores
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
@@ -200,6 +215,9 @@ jobs:
|
|||||||
config: ['Release', 'Debug']
|
config: ['Release', 'Debug']
|
||||||
precompile: ['ON', 'OFF']
|
precompile: ['ON', 'OFF']
|
||||||
steps:
|
steps:
|
||||||
|
- name: Get number of CPU cores
|
||||||
|
uses: SimenB/github-actions-cpu-cores@v2
|
||||||
|
id: cpu-cores
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
|
|||||||
Reference in New Issue
Block a user