Skip to content

Commit eec54ef

Browse files
committed
Add GitHub build workflow
1 parent c374bc2 commit eec54ef

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

.github/workflows/build-macos.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,10 @@ jobs:
1212
- uses: actions/checkout@v2
1313

1414
- name: "Setup flex, bison"
15-
run: brew install flex bison
15+
run: |
16+
brew install flex bison
17+
echo "/usr/local/opt/flex/bin" >> $GITHUB_PATH
18+
echo "/usr/local/opt/bison/bin" >> $GITHUB_PATH
1619
1720
- name: "Setup cmake"
1821
run: cmake --version
@@ -23,8 +26,6 @@ jobs:
2326
gil update
2427
2528
- name: "Build"
26-
env:
27-
PATH: /usr/local/opt/flex/bin:/usr/local/opt/bison/bin:$PATH
2829
run: |
2930
cd build
3031
./unix.sh

0 commit comments

Comments
 (0)