Skip to content

Commit

Permalink
enable
Browse files Browse the repository at this point in the history
  • Loading branch information
pmqs committed Sep 5, 2023
1 parent c984648 commit a12ac06
Showing 1 changed file with 11 additions and 8 deletions.
19 changes: 11 additions & 8 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,16 +43,12 @@ jobs:
core.exportVariable('ACTIONS_CACHE_URL', process.env.ACTIONS_CACHE_URL || '');
core.exportVariable('ACTIONS_RUNTIME_TOKEN', process.env.ACTIONS_RUNTIME_TOKEN || '');
- name: Install dependencies via vcpkg
- name: Get bzip2 library from vcpkg
if: ${{ matrix.build-bzip2 }} == 0
run: vcpkg install bzip2:x64-windows --binarysource="clear;x-gha,readwrite"

# - name: Build & Install bzip2 library
# if: ${{ matrix.build-bzip2 }} == 0
# run: vcpkg install bzip2:x64-windows

- name: Show installed bzip2 files
# if: ${{ matrix.build-bzip2 }} == 0
- name: Show installed bzip2 files created by vcpkg
if: ${{ matrix.build-bzip2 }} == 0
run: find /c/vcpkg/installed
shell: bash

Expand All @@ -67,7 +63,14 @@ jobs:
- name: Install dependencies
run: cpanm --quiet --installdeps --notest .

- name: Build
- name: Build with included Bzip2 source
if: ${{ matrix.build-bzip2 }} == 1
run: perl Makefile.PL && make
env:
BUILD_BZIP2: ${{ matrix.build-bzip2 }}

- name: Build with system bzip2
if: ${{ matrix.build-bzip2 }} == 0
run: perl Makefile.PL && make
env:
BUILD_BZIP2: ${{ matrix.build-bzip2 }}
Expand Down

0 comments on commit a12ac06

Please sign in to comment.