Skip to content

Commit e6ed541

Browse files
committed
Merge branch 'develop' of https://github.com/stdlib-js/stdlib into develop
2 parents 8a7dcb9 + d0ded3d commit e6ed541

14 files changed

Lines changed: 204 additions & 50 deletions

.github/workflows/linux_benchmark.yml

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,15 @@ on:
3030
# Allow the workflow to be manually run:
3131
workflow_dispatch:
3232

33+
# Workflow concurrency group:
34+
concurrency:
35+
36+
# Specify a group name:
37+
group: ${{ github.workflow }}
38+
39+
# Specify whether to cancel any currently workflow in the same concurrency group:
40+
cancel-in-progress: true
41+
3342
# Workflow jobs:
3443
jobs:
3544

@@ -56,9 +65,9 @@ jobs:
5665
LINKER: 'g++'
5766
GITHUB: 'true'
5867
DISPLAY: ':99'
59-
LOG_DIR: '$GITHUB_WORKSPACE/tmp/var/log'
60-
LOG_FILE_INSTALL: "$GITHUB_WORKSPACE/tmp/var/log/install.log"
61-
LOG_FILE_BUILD_TASK: "$GITHUB_WORKSPACE/tmp/var/log/${{ matrix.BUILD_TASK }}.log"
68+
LOG_DIR: "${{ github.workspace }}/tmp/var/log"
69+
LOG_FILE_INSTALL: "${{ github.workspace }}/tmp/var/log/install.log"
70+
LOG_FILE_BUILD_TASK: "${{ github.workspace }}/tmp/var/log/${{ matrix.BUILD_TASK }}.log"
6271
LOG_NUM_LINES: 5000
6372

6473
# Define the build matrix strategy...
@@ -238,10 +247,10 @@ jobs:
238247
if: always()
239248
with:
240249
# Define a name for the uploaded artifact (ensuring a unique name for each job):
241-
name: ${{ matrix.BUILD_TASK }}_log_v${{ matrix.NODE_VERSION }}_${{ matrix.PLATFORM }}
250+
name: ${{ matrix.BUILD_TASK }}_log_nodejs_v${{ matrix.NODE_VERSION }}_${{ matrix.PLATFORM }}
242251

243252
# Specify the path to the file to upload:
244-
path: "${{ env.LOG_FILE_BUILD_TASK }}"
253+
path: ${{ env.LOG_FILE_BUILD_TASK }}
245254

246255
# Specify the number of days to retain the artifact (default is 90 days):
247256
retention-days: 5

.github/workflows/linux_examples.yml

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,15 @@ on:
3030
# Allow the workflow to be manually run:
3131
workflow_dispatch:
3232

33+
# Workflow concurrency group:
34+
concurrency:
35+
36+
# Specify a group name:
37+
group: ${{ github.workflow }}
38+
39+
# Specify whether to cancel any currently workflow in the same concurrency group:
40+
cancel-in-progress: true
41+
3342
# Workflow jobs:
3443
jobs:
3544

@@ -56,9 +65,9 @@ jobs:
5665
LINKER: 'g++'
5766
GITHUB: 'true'
5867
DISPLAY: ':99'
59-
LOG_DIR: '$GITHUB_WORKSPACE/tmp/var/log'
60-
LOG_FILE_INSTALL: "$GITHUB_WORKSPACE/tmp/var/log/install.log"
61-
LOG_FILE_BUILD_TASK: "$GITHUB_WORKSPACE/tmp/var/log/${{ matrix.BUILD_TASK }}.log"
68+
LOG_DIR: "${{ github.workspace }}/tmp/var/log"
69+
LOG_FILE_INSTALL: "${{ github.workspace }}/tmp/var/log/install.log"
70+
LOG_FILE_BUILD_TASK: "${{ github.workspace }}/tmp/var/log/${{ matrix.BUILD_TASK }}.log"
6271
LOG_NUM_LINES: 5000
6372

6473
# Define the build matrix strategy...
@@ -238,10 +247,10 @@ jobs:
238247
if: always()
239248
with:
240249
# Define a name for the uploaded artifact (ensuring a unique name for each job):
241-
name: ${{ matrix.BUILD_TASK }}_log_v${{ matrix.NODE_VERSION }}_${{ matrix.PLATFORM }}
250+
name: ${{ matrix.BUILD_TASK }}_log_nodejs_v${{ matrix.NODE_VERSION }}_${{ matrix.PLATFORM }}
242251

243252
# Specify the path to the file to upload:
244-
path: "${{ env.LOG_FILE_BUILD_TASK }}"
253+
path: ${{ env.LOG_FILE_BUILD_TASK }}
245254

246255
# Specify the number of days to retain the artifact (default is 90 days):
247256
retention-days: 5

.github/workflows/linux_test.yml

Lines changed: 32 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,37 @@ on:
2424
push:
2525
branches:
2626
- develop
27+
paths:
28+
# List paths for which changes should trigger this workflow:
29+
- 'lib/**/bin/**'
30+
- 'lib/**/data/**'
31+
- 'lib/**/etc/**'
32+
- 'lib/**/include/**'
33+
- 'lib/**/lib/**'
34+
- 'lib/**/src/**'
35+
- 'lib/**/test/**'
36+
37+
- 'lib/**/*.gyp'
38+
- 'lib/**/*.gypi'
39+
- 'lib/**/manifest.json'
40+
41+
- 'package.json'
42+
43+
# List paths for which changes should *not* trigger this workflow:
44+
- '!lib/_tools/**'
2745

2846
# Allow the workflow to be manually run:
2947
workflow_dispatch:
3048

49+
# Workflow concurrency group:
50+
concurrency:
51+
52+
# Specify a group name:
53+
group: ${{ github.workflow }}
54+
55+
# Specify whether to cancel any currently workflow in the same concurrency group:
56+
cancel-in-progress: true
57+
3158
# Workflow jobs:
3259
jobs:
3360

@@ -51,9 +78,9 @@ jobs:
5178
LINKER: 'g++'
5279
GITHUB: 'true'
5380
DISPLAY: ':99'
54-
LOG_DIR: '$GITHUB_WORKSPACE/tmp/var/log'
55-
LOG_FILE_INSTALL: "$GITHUB_WORKSPACE/tmp/var/log/install.log"
56-
LOG_FILE_BUILD_TASK: "$GITHUB_WORKSPACE/tmp/var/log/${{ matrix.BUILD_TASK }}.log"
81+
LOG_DIR: "${{ github.workspace }}/tmp/var/log"
82+
LOG_FILE_INSTALL: "${{ github.workspace }}/tmp/var/log/install.log"
83+
LOG_FILE_BUILD_TASK: "${{ github.workspace }}/tmp/var/log/${{ matrix.BUILD_TASK }}.log"
5784
LOG_NUM_LINES: 5000
5885

5986
# Define the build matrix strategy...
@@ -234,10 +261,10 @@ jobs:
234261
if: always()
235262
with:
236263
# Define a name for the uploaded artifact (ensuring a unique name for each job):
237-
name: ${{ matrix.BUILD_TASK }}_log_v${{ matrix.NODE_VERSION }}_${{ matrix.PLATFORM }}
264+
name: ${{ matrix.BUILD_TASK }}_log_nodejs_v${{ matrix.NODE_VERSION }}_${{ matrix.PLATFORM }}
238265

239266
# Specify the path to the file to upload:
240-
path: "${{ env.LOG_FILE_BUILD_TASK }}"
267+
path: ${{ env.LOG_FILE_BUILD_TASK }}
241268

242269
# Specify the number of days to retain the artifact (default is 90 days):
243270
retention-days: 5

.github/workflows/linux_test_cov.yml

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,15 @@ on:
3030
# Allow the workflow to be manually run:
3131
workflow_dispatch:
3232

33+
# Workflow concurrency group:
34+
concurrency:
35+
36+
# Specify a group name:
37+
group: ${{ github.workflow }}
38+
39+
# Specify whether to cancel any currently workflow in the same concurrency group:
40+
cancel-in-progress: true
41+
3342
# Workflow jobs:
3443
jobs:
3544

@@ -56,9 +65,9 @@ jobs:
5665
LINKER: 'g++'
5766
GITHUB: 'true'
5867
DISPLAY: ':99'
59-
LOG_DIR: '$GITHUB_WORKSPACE/tmp/var/log'
60-
LOG_FILE_INSTALL: "$GITHUB_WORKSPACE/tmp/var/log/install.log"
61-
LOG_FILE_BUILD_TASK: "$GITHUB_WORKSPACE/tmp/var/log/${{ matrix.BUILD_TASK }}.log"
68+
LOG_DIR: "${{ github.workspace }}/tmp/var/log"
69+
LOG_FILE_INSTALL: "${{ github.workspace }}/tmp/var/log/install.log"
70+
LOG_FILE_BUILD_TASK: "${{ github.workspace }}/tmp/var/log/${{ matrix.BUILD_TASK }}.log"
6271
LOG_NUM_LINES: 5000
6372

6473
# Define the build matrix strategy...
@@ -238,10 +247,10 @@ jobs:
238247
if: always()
239248
with:
240249
# Define a name for the uploaded artifact (ensuring a unique name for each job):
241-
name: ${{ matrix.BUILD_TASK }}_log_v${{ matrix.NODE_VERSION }}_${{ matrix.PLATFORM }}
250+
name: ${{ matrix.BUILD_TASK }}_log_nodejs_v${{ matrix.NODE_VERSION }}_${{ matrix.PLATFORM }}
242251

243252
# Specify the path to the file to upload:
244-
path: "${{ env.LOG_FILE_BUILD_TASK }}"
253+
path: ${{ env.LOG_FILE_BUILD_TASK }}
245254

246255
# Specify the number of days to retain the artifact (default is 90 days):
247256
retention-days: 5

.github/workflows/linux_test_npm_install.yml

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,15 @@ on:
2828
# Allow the workflow to be manually run:
2929
workflow_dispatch:
3030

31+
# Workflow concurrency group:
32+
concurrency:
33+
34+
# Specify a group name:
35+
group: ${{ github.workflow }}
36+
37+
# Specify whether to cancel any currently workflow in the same concurrency group:
38+
cancel-in-progress: true
39+
3140
# Workflow jobs:
3241
jobs:
3342

@@ -51,8 +60,8 @@ jobs:
5160
LINKER: 'g++'
5261
GITHUB: 'true'
5362
DISPLAY: ':99'
54-
LOG_DIR: '$GITHUB_WORKSPACE/tmp/var/log'
55-
LOG_FILE_BUILD_TASK: "$GITHUB_WORKSPACE/tmp/var/log/${{ matrix.BUILD_TASK }}.log"
63+
LOG_DIR: "${{ github.workspace }}/tmp/var/log"
64+
LOG_FILE_BUILD_TASK: "${{ github.workspace }}/tmp/var/log/${{ matrix.BUILD_TASK }}.log"
5665
LOG_NUM_LINES: 5000
5766

5867
# Define the build matrix strategy...
@@ -217,10 +226,10 @@ jobs:
217226
if: always()
218227
with:
219228
# Define a name for the uploaded artifact (ensuring a unique name for each job):
220-
name: ${{ matrix.BUILD_TASK }}_log_v${{ matrix.NODE_VERSION }}_${{ matrix.PLATFORM }}
229+
name: ${{ matrix.BUILD_TASK }}_log_nodejs_v${{ matrix.NODE_VERSION }}_${{ matrix.PLATFORM }}
221230

222231
# Specify the path to the file to upload:
223-
path: "${{ env.LOG_FILE_BUILD_TASK }}"
232+
path: ${{ env.LOG_FILE_BUILD_TASK }}
224233

225234
# Specify the number of days to retain the artifact (default is 90 days):
226235
retention-days: 5

.github/workflows/macos_benchmark.yml

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,15 @@ on:
3030
# Allow the workflow to be manually run:
3131
workflow_dispatch:
3232

33+
# Workflow concurrency group:
34+
concurrency:
35+
36+
# Specify a group name:
37+
group: ${{ github.workflow }}
38+
39+
# Specify whether to cancel any currently workflow in the same concurrency group:
40+
cancel-in-progress: true
41+
3342
# Workflow jobs:
3443
jobs:
3544

@@ -55,9 +64,9 @@ jobs:
5564
CXX_COMPILER: 'g++'
5665
LINKER: 'g++'
5766
GITHUB: 'true'
58-
LOG_DIR: '$GITHUB_WORKSPACE/tmp/var/log'
59-
LOG_FILE_INSTALL: "$GITHUB_WORKSPACE/tmp/var/log/install.log"
60-
LOG_FILE_BUILD_TASK: "$GITHUB_WORKSPACE/tmp/var/log/${{ matrix.BUILD_TASK }}.log"
67+
LOG_DIR: "${{ github.workspace }}/tmp/var/log"
68+
LOG_FILE_INSTALL: "${{ github.workspace }}/tmp/var/log/install.log"
69+
LOG_FILE_BUILD_TASK: "${{ github.workspace }}/tmp/var/log/${{ matrix.BUILD_TASK }}.log"
6170
LOG_NUM_LINES: 5000
6271

6372
# Define the build matrix strategy...
@@ -224,10 +233,10 @@ jobs:
224233
if: always()
225234
with:
226235
# Define a name for the uploaded artifact (ensuring a unique name for each job):
227-
name: ${{ matrix.BUILD_TASK }}_log_v${{ matrix.NODE_VERSION }}_${{ matrix.PLATFORM }}
236+
name: ${{ matrix.BUILD_TASK }}_log_nodejs_v${{ matrix.NODE_VERSION }}_${{ matrix.PLATFORM }}
228237

229238
# Specify the path to the file to upload:
230-
path: "${{ env.LOG_FILE_BUILD_TASK }}"
239+
path: ${{ env.LOG_FILE_BUILD_TASK }}
231240

232241
# Specify the number of days to retain the artifact (default is 90 days):
233242
retention-days: 5

.github/workflows/macos_test.yml

Lines changed: 32 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,37 @@ on:
2424
push:
2525
branches:
2626
- develop
27+
paths:
28+
# List paths for which changes should trigger this workflow:
29+
- 'lib/**/bin/**'
30+
- 'lib/**/data/**'
31+
- 'lib/**/etc/**'
32+
- 'lib/**/include/**'
33+
- 'lib/**/lib/**'
34+
- 'lib/**/src/**'
35+
- 'lib/**/test/**'
36+
37+
- 'lib/**/*.gyp'
38+
- 'lib/**/*.gypi'
39+
- 'lib/**/manifest.json'
40+
41+
- 'package.json'
42+
43+
# List paths for which changes should *not* trigger this workflow:
44+
- '!lib/_tools/**'
2745

2846
# Allow the workflow to be manually run:
2947
workflow_dispatch:
3048

49+
# Workflow concurrency group:
50+
concurrency:
51+
52+
# Specify a group name:
53+
group: ${{ github.workflow }}
54+
55+
# Specify whether to cancel any currently workflow in the same concurrency group:
56+
cancel-in-progress: true
57+
3158
# Workflow jobs:
3259
jobs:
3360

@@ -50,9 +77,9 @@ jobs:
5077
CXX_COMPILER: 'g++'
5178
LINKER: 'g++'
5279
GITHUB: 'true'
53-
LOG_DIR: '$GITHUB_WORKSPACE/tmp/var/log'
54-
LOG_FILE_INSTALL: "$GITHUB_WORKSPACE/tmp/var/log/install.log"
55-
LOG_FILE_BUILD_TASK: "$GITHUB_WORKSPACE/tmp/var/log/${{ matrix.BUILD_TASK }}.log"
80+
LOG_DIR: "${{ github.workspace }}/tmp/var/log"
81+
LOG_FILE_INSTALL: "${{ github.workspace }}/tmp/var/log/install.log"
82+
LOG_FILE_BUILD_TASK: "${{ github.workspace }}/tmp/var/log/${{ matrix.BUILD_TASK }}.log"
5683
LOG_NUM_LINES: 5000
5784

5885
# Define the build matrix strategy...
@@ -220,10 +247,10 @@ jobs:
220247
if: always()
221248
with:
222249
# Define a name for the uploaded artifact (ensuring a unique name for each job):
223-
name: ${{ matrix.BUILD_TASK }}_log_v${{ matrix.NODE_VERSION }}_${{ matrix.PLATFORM }}
250+
name: ${{ matrix.BUILD_TASK }}_log_nodejs_v${{ matrix.NODE_VERSION }}_${{ matrix.PLATFORM }}
224251

225252
# Specify the path to the file to upload:
226-
path: "${{ env.LOG_FILE_BUILD_TASK }}"
253+
path: ${{ env.LOG_FILE_BUILD_TASK }}
227254

228255
# Specify the number of days to retain the artifact (default is 90 days):
229256
retention-days: 5

.github/workflows/macos_test_cov.yml

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,15 @@ on:
3030
# Allow the workflow to be manually run:
3131
workflow_dispatch:
3232

33+
# Workflow concurrency group:
34+
concurrency:
35+
36+
# Specify a group name:
37+
group: ${{ github.workflow }}
38+
39+
# Specify whether to cancel any currently workflow in the same concurrency group:
40+
cancel-in-progress: true
41+
3342
# Workflow jobs:
3443
jobs:
3544

@@ -55,9 +64,9 @@ jobs:
5564
CXX_COMPILER: 'g++'
5665
LINKER: 'g++'
5766
GITHUB: 'true'
58-
LOG_DIR: '$GITHUB_WORKSPACE/tmp/var/log'
59-
LOG_FILE_INSTALL: "$GITHUB_WORKSPACE/tmp/var/log/install.log"
60-
LOG_FILE_BUILD_TASK: "$GITHUB_WORKSPACE/tmp/var/log/${{ matrix.BUILD_TASK }}.log"
67+
LOG_DIR: "${{ github.workspace }}/tmp/var/log"
68+
LOG_FILE_INSTALL: "${{ github.workspace }}/tmp/var/log/install.log"
69+
LOG_FILE_BUILD_TASK: "${{ github.workspace }}/tmp/var/log/${{ matrix.BUILD_TASK }}.log"
6170
LOG_NUM_LINES: 5000
6271

6372
# Define the build matrix strategy...
@@ -224,10 +233,10 @@ jobs:
224233
if: always()
225234
with:
226235
# Define a name for the uploaded artifact (ensuring a unique name for each job):
227-
name: ${{ matrix.BUILD_TASK }}_log_v${{ matrix.NODE_VERSION }}_${{ matrix.PLATFORM }}
236+
name: ${{ matrix.BUILD_TASK }}_log_nodejs_v${{ matrix.NODE_VERSION }}_${{ matrix.PLATFORM }}
228237

229238
# Specify the path to the file to upload:
230-
path: "${{ env.LOG_FILE_BUILD_TASK }}"
239+
path: ${{ env.LOG_FILE_BUILD_TASK }}
231240

232241
# Specify the number of days to retain the artifact (default is 90 days):
233242
retention-days: 5

0 commit comments

Comments
 (0)