summaryrefslogtreecommitdiffstats
path: root/.github/workflows/mac-build.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/mac-build.yml')
-rw-r--r--.github/workflows/mac-build.yml11
1 files changed, 8 insertions, 3 deletions
diff --git a/.github/workflows/mac-build.yml b/.github/workflows/mac-build.yml
index 1645bc7..7119f34 100644
--- a/.github/workflows/mac-build.yml
+++ b/.github/workflows/mac-build.yml
@@ -21,10 +21,12 @@ jobs:
uses: actions/checkout@v4
- name: Prepare
run: |
- touch tclStubInit.c tclOOStubInit.c
+ touch tclStubInit.c tclOOStubInit.c tclOOScript.h
working-directory: generic
- name: Build
run: make all
+ env:
+ CFLAGS: -arch x86_64 -arch arm64
- name: Run Tests
run: make test styles=develop
env:
@@ -49,17 +51,20 @@ jobs:
uses: actions/checkout@v4
- name: Prepare
run: |
- touch tclStubInit.c tclOOStubInit.c
+ touch tclStubInit.c tclOOStubInit.c tclOOScript.h
mkdir "$HOME/install dir"
working-directory: generic
- name: Configure ${{ matrix.cfgopt }}
# Note that macOS is always a 64 bit platform
- run: ./configure --enable-64bit --enable-dtrace --enable-framework ${CFGOPT} "--prefix=$HOME/install" || (cat config.log && exit 1)
+ run: ./configure --enable-dtrace --enable-framework ${CFGOPT} "--prefix=$HOME/install" || (cat config.log && exit 1)
env:
+ CFLAGS: -arch x86_64 -arch arm64
CFGOPT: ${{ matrix.cfgopt }}
- name: Build
run: |
make all tcltest
+ env:
+ CFLAGS: -arch x86_64 -arch arm64
- name: Run Tests
run: |
make test