Skip to content

Commit 0ecbf05

Browse files
committed
test passing arguments
1 parent 2021082 commit 0ecbf05

File tree

2 files changed

+19
-0
lines changed

2 files changed

+19
-0
lines changed

.github/workflows/build.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -237,6 +237,15 @@ jobs:
237237
with:
238238
config_hash: ${{ needs.check_source.outputs.config_hash }}
239239

240+
build_macos_nogil:
241+
name: 'macOS'
242+
needs: check_source
243+
if: needs.check_source.outputs.run_tests == 'true'
244+
uses: ./.github/workflows/reusable-build-macos.yml
245+
with:
246+
config_hash: ${{ needs.check_source.outputs.config_hash }}
247+
disable_gil: true
248+
240249
build_ubuntu:
241250
name: 'Ubuntu'
242251
runs-on: ubuntu-20.04

.github/workflows/reusable-build-macos.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ on:
44
config_hash:
55
required: true
66
type: string
7+
disable_gil:
8+
required: false
9+
type: boolean
10+
default: false
711

812
jobs:
913
build_macos:
@@ -23,6 +27,12 @@ jobs:
2327
key: ${{ github.job }}-${{ runner.os }}-${{ inputs.config_hash }}
2428
- name: Install Homebrew dependencies
2529
run: brew install pkg-config openssl@3.0 xz gdbm tcl-tk
30+
- name: FIXME test
31+
run: |
32+
echo something here ... \
33+
${{ inputs.disable_gil && 'FIXME--disable-gil' }} \
34+
... \
35+
something else
2636
- name: Configure CPython
2737
run: |
2838
GDBM_CFLAGS="-I$(brew --prefix gdbm)/include" \

0 commit comments

Comments
 (0)