diff options
author | culler <culler> | 2021-02-11 15:12:40 (GMT) |
---|---|---|
committer | culler <culler> | 2021-02-11 15:12:40 (GMT) |
commit | a4bf99fa2cdff061d141d8ae54adc69135adac34 (patch) | |
tree | 82c8e8fa760948a77de4da80aca66a20f13f9a55 /.github/workflows | |
parent | dfd4a2e5c1a1e54b69e7317a2d71c09aa7cb42b9 (diff) | |
download | tcl-a4bf99fa2cdff061d141d8ae54adc69135adac34.zip tcl-a4bf99fa2cdff061d141d8ae54adc69135adac34.tar.gz tcl-a4bf99fa2cdff061d141d8ae54adc69135adac34.tar.bz2 |
Add CFLAGS to the github actions to build fat binaries on macOS.
Diffstat (limited to '.github/workflows')
-rw-r--r-- | .github/workflows/mac-build.yml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/.github/workflows/mac-build.yml b/.github/workflows/mac-build.yml index 7ca1817..cba8531 100644 --- a/.github/workflows/mac-build.yml +++ b/.github/workflows/mac-build.yml @@ -16,6 +16,8 @@ jobs: working-directory: generic - name: Build run: make all + env: + CFLAGS: -arch x86_64 -arch arm64e - name: Run Tests run: make test styles=develop env: @@ -46,10 +48,13 @@ jobs: # 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) env: + CFLAGS: -arch x86_64 -arch arm64e CFGOPT: ${{ matrix.cfgopt }} - name: Build run: | make all tcltest + env: + CFLAGS: -arch x86_64 -arch arm64e - name: Run Tests run: | make test |