Skip to content

Commit

Permalink
Fix MacOS CI
Browse files Browse the repository at this point in the history
  • Loading branch information
ddeclerck committed May 13, 2024
1 parent 5ba97ae commit cf1d99e
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:

- name: Install packages
run: |
brew install automake help2man texinfo bison berkeley-db@4
brew install automake libtool help2man texinfo bison berkeley-db@4
opt="/usr/local/opt"; \
for d in automake help2man bison texinfo berkeley-db@4; do \
test -d "$opt/$d/bin" && echo "$opt/$d/bin" >> $GITHUB_PATH; \
Expand All @@ -53,18 +53,19 @@ jobs:
echo "NPROC=`sysctl -n hw.ncpu`" >> $GITHUB_ENV
export TERM="vt100"
echo "TERM=$TERM" >> $GITHUB_ENV
- name: configure
run: |
cd _build
export BDB_CFLAGS="-I/opt/homebrew/opt/berkeley-db@4/include"
export BDB_LIBS="-L/opt/homebrew/opt/berkeley-db@4/lib -ldb"
../configure --enable-cobc-internal-checks --enable-hardening --prefix /opt/cobol/gnucobol-gcos --exec-prefix /opt/cobol/gnucobol-gcos
- name: Upload config.log
uses: actions/upload-artifact@v3
with:
name: config.log
path: _build/config.log
# if: failure()
if: always()

- name: make
run: |
Expand Down

0 comments on commit cf1d99e

Please sign in to comment.