Skip to content

Commit bf0c40b

Browse files
committed
MAINT: reusable workflow
1 parent 991b6ff commit bf0c40b

2 files changed

Lines changed: 26 additions & 13 deletions

File tree

.github/workflows/posix.yml

Lines changed: 15 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,23 @@
11
name: posix
22

33
on:
4-
push:
5-
branches: [ main ]
6-
pull_request:
7-
branches:
8-
- main
9-
- maintenance/**
10-
workflow_dispatch: null
11-
schedule:
12-
- cron: '0 0 * * 0'
4+
# push:
5+
# branches: [ main ]
6+
# pull_request:
7+
# branches:
8+
# - main
9+
# - maintenance/**
10+
# workflow_dispatch: null
11+
# schedule:
12+
# - cron: '0 0 * * 0'
1313
workflow_call:
1414

15+
16+
concurrency:
17+
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
18+
cancel-in-progress: true
19+
20+
1521
jobs:
1622
build:
1723
runs-on: ${{ matrix.os }}

.github/workflows/publish.yml

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,21 @@ on:
1414
options: [ "none", "testpypi", "pypi" ]
1515

1616

17+
concurrency:
18+
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
19+
cancel-in-progress: true
20+
21+
1722
permissions:
1823
contents: read # to fetch code (actions/checkout)
1924

2025

2126
jobs:
2227
call-posix:
23-
uses: andyfaff/openblas-libs/.github/workflows/posix.yml@pub
28+
uses: ./.github/workflows/posix.yml
29+
30+
call-windows:
31+
uses: ./.github/workflows/windows.yml
2432

25-
# call-posix:
26-
# - name: Set up Flang and pkgconf for ARM64
27-
# uses: ./.github/posix.yml
33+
call-windows-arm:
34+
uses: ./.github/workflows/windows-arm.yml

0 commit comments

Comments
 (0)