Skip to content

Commit

Permalink
5.3.28.NC
Browse files Browse the repository at this point in the history
  • Loading branch information
pmqs committed Aug 21, 2023
1 parent 5b41404 commit 74e5226
Showing 1 changed file with 17 additions and 6 deletions.
23 changes: 17 additions & 6 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ on:
push:
pull_request:
# schedule:
# - cron: '01 01 * * 6' # Run every Saturdayw_dispatch:
# - cron: '01 01 * * 6' # Run every Saturday

env:
berkeleydb-source: ${{ github.workspace }}/upstream-berkeleydb-source
berkeleydb-install: ${{ github.workspace }}/upstream-berkeleydb-install
berkeleydb-version: 4.6.18.NC
berkeleydb-version: 5.3.28.NC
BERKELEYDB_LIB: ${{ github.workspace }}/upstream-berkeleydb-install/lib
BERKELEYDB_INCLUDE: ${{ github.workspace }}/upstream-berkeleydb-install/include

Expand All @@ -35,6 +35,13 @@ jobs:
mkdir -p ${{ env.berkeleydb-source }}
mkdir -p ${{ env.berkeleydb-install }}
# - name: Install BDB ${{ env.berkeleydb-version }}
# if: steps.cache-berkeleydb.outputs.cache-hit != 'true'
# run: |
# wget https://github.com/macports/macports-base/releases/download/v2.7.1/MacPorts-2.7.1-11-BigSur.pkg
# sudo installer -pkg ./MacPorts-2.7.1-11-BigSur.pkg -target /
# sudo port install db53

- name: Build BDB ${{ env.berkeleydb-version }}
if: steps.cache-berkeleydb.outputs.cache-hit != 'true'
run: |
Expand All @@ -46,10 +53,8 @@ jobs:
make install
rm -fr ${{ env.berkeleydb-install }}/docs
working-directory: ${{ env.berkeleydb-source }}
env:
CFLAGS: -DHAVE_64BIT_TYPES=1

- name: Show installed zlib files
- name: Show installed berkeleydb files
run: find .
working-directory: ${{ env.berkeleydb-install }}

Expand Down Expand Up @@ -80,10 +85,16 @@ jobs:
- '5.8'
# - '5.6'

defaults:
run:
working-directory: repo

name: Perl ${{ matrix.perl }}
steps:

- uses: actions/checkout@v1
- uses: actions/checkout@v3
with:
path: repo

- name: Cache BDB ${{ env.berkeleydb-version }}
id: cache-berkeleydb
Expand Down

0 comments on commit 74e5226

Please sign in to comment.