diff options
author | Tomasz Konojacki <me@xenu.pl> | 2021-10-13 14:50:29 +0200 |
---|---|---|
committer | xenu <me@xenu.pl> | 2021-10-15 21:26:54 +0200 |
commit | 7ab72683be77c37dbd4c1d1194eccdc905d8ff88 (patch) | |
tree | 9f9062efa4e247e56c69ac661ff6ba2053234b08 /.github | |
parent | 229e23b64687900359b531b3aeaae7fa90eaca86 (diff) | |
download | perl-7ab72683be77c37dbd4c1d1194eccdc905d8ff88.tar.gz |
install libgdbm and libdb in GitHub Actions
This ensures that DB_File and GDBM_File will be built and tested.
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/testsuite.yml | 32 |
1 files changed, 28 insertions, 4 deletions
diff --git a/.github/workflows/testsuite.yml b/.github/workflows/testsuite.yml index 809d93daff..92228e7475 100644 --- a/.github/workflows/testsuite.yml +++ b/.github/workflows/testsuite.yml @@ -84,6 +84,10 @@ jobs: env: GITHUB_CONTEXT: ${{ toJson(github) }} run: echo "$GITHUB_CONTEXT" + - name: Install System dependencies + run: | + sudo apt-get update + sudo apt-get install -y libgdbm-dev libdb-dev - uses: actions/checkout@v2 with: fetch-depth: 0 @@ -147,6 +151,10 @@ jobs: - "-Dcc='clang'" steps: + - name: Install System dependencies + run: | + sudo apt-get update + sudo apt-get install -y libgdbm-dev libdb-dev - uses: actions/checkout@v2 - name: git cfg + fetch tags run: | @@ -198,9 +206,8 @@ jobs: steps: - name: Install System dependencies run: | - apt-get update ||: - apt-get -y install build-essential git-core - + apt-get update + apt-get install -y build-essential git-core libgdbm-dev libdb-dev # actions/checkout@v2 doesn't work in a container, so we use v1. - uses: actions/checkout@v1 - name: fix git remote credential @@ -239,6 +246,10 @@ jobs: if: needs.sanity_check.outputs.run_all_jobs == 'true' steps: + - name: Install System dependencies + run: | + sudo apt-get update + sudo apt-get install -y libgdbm-dev libdb-dev - uses: actions/checkout@v2 - name: git cfg + fetch tags run: | @@ -434,7 +445,8 @@ jobs: run: | choco install cygwin --params="/InstallDir:%GITHUB_WORKSPACE%\cygwin" choco install cyg-get - cyg-get cygwin-devel gcc-core gcc gcc-g++ make cygwin64-w32api-headers binutils libtool git ccache + cyg-get cygwin-devel gcc-core gcc gcc-g++ make cygwin64-w32api-headers ^ + binutils libtool git ccache lib libgdbm-devel libdb-devel - name: Check out using Cygwin git, to ensure correct file permissions env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} @@ -496,6 +508,10 @@ jobs: env: GITHUB_CONTEXT: ${{ toJson(github) }} run: echo "$GITHUB_CONTEXT" + - name: Install System dependencies + run: | + sudo apt-get update + sudo apt-get install -y libgdbm-dev libdb-dev - uses: actions/checkout@v2 - name: git cfg + fetch tags run: | @@ -544,6 +560,10 @@ jobs: - "-Dusethreads" steps: + - name: Install System dependencies + run: | + sudo apt-get update + sudo apt-get install -y libgdbm-dev libdb-dev - uses: actions/checkout@v2 - name: git cfg + fetch tags run: | @@ -589,6 +609,10 @@ jobs: - "-Dusethreads -Accflags=-DPURIFY -Dcc='gcc -fsanitize=address' -Dld='gcc -fsanitize=address'" steps: + - name: Install System dependencies + run: | + sudo apt-get update + sudo apt-get install -y libgdbm-dev libdb-dev - uses: actions/checkout@v2 - name: git cfg + fetch tags run: | |