Skip to content

Commit 308dd98

Browse files
author
Tommy Meisel
committed
build for x86_64
1 parent 4f88f11 commit 308dd98

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

.github/workflows/build.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Build
22
on: [push]
33
jobs:
44
Build:
5-
runs-on: macos-latest
5+
runs-on: macos-15-intel # Uses x86_64 (Intel) runners - newer supported version
66
steps:
77
- uses: actions/checkout@v3
88

@@ -11,10 +11,11 @@ jobs:
1111

1212
- name: Update environment variables
1313
run: |
14-
echo "/opt/homebrew/opt/bison/bin" >> $GITHUB_PATH
15-
export LDFLAGS="-L/opt/homebrew/opt/bison/lib"
16-
export CFLAGS="-Wno-deprecated-copy-with-user-provided-copy"
17-
export CXXFLAGS="-Wno-deprecated-copy-with-user-provided-copy"
14+
echo "/usr/local/opt/bison/bin" >> $GITHUB_PATH
15+
export LDFLAGS="-L/usr/local/opt/bison/lib"
16+
export CFLAGS="-Wno-deprecated-copy-with-user-provided-copy -arch x86_64"
17+
export CXXFLAGS="-Wno-deprecated-copy-with-user-provided-copy -arch x86_64"
18+
export LDFLAGS="$LDFLAGS -arch x86_64"
1819
1920
- name: Boostrap
2021
run: ./bootstrap.sh

0 commit comments

Comments
 (0)