Skip to content

Commit

Permalink
Set LZMA_VERSION environment variable
Browse files Browse the repository at this point in the history
  • Loading branch information
pmqs committed Aug 22, 2023
1 parent 42a1e9c commit 38ee5fc
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/linux-upstream-gh-xz.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
lzma-install: ${{ github.workspace }}/upstream-lzma-install
LIBLZMA_LIB: ${{ github.workspace }}/upstream-lzma-install/lib
LIBLZMA_INCLUDE: ${{ github.workspace }}/upstream-lzma-install/include
LIBLZMA_VERSION: ${{ matrix.lzma-version }}
LZMA_VERSION: ${{ matrix.lzma-version }}

defaults:
run:
Expand Down
16 changes: 11 additions & 5 deletions .github/workflows/macos-upstream-gh-xz.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ name: MacOS + upstream github xz
# issue with not being able to override the system path location of the lzma library
on:
workflow_dispatch:
# push:
# pull_request:
# schedule:
# - cron: '02 02 2 1-12 *' # Run monthly
push:
pull_request:
schedule:
- cron: '02 02 2 1-12 *' # Run monthly

jobs:
build:
Expand All @@ -34,7 +34,7 @@ jobs:
lzma-install: ${{ github.workspace }}/upstream-lzma-install
LIBLZMA_LIB: ${{ github.workspace }}/upstream-lzma-install/lib
LIBLZMA_INCLUDE: ${{ github.workspace }}/upstream-lzma-install/include
LIBLZMA_VERSION: ${{ matrix.lzma-version }}
LZMA_VERSION: ${{ matrix.lzma-version }}

defaults:
run:
Expand Down Expand Up @@ -106,6 +106,12 @@ jobs:
cmake --install .
rm -fr ${HOME}/build-xz
- name: Show installed lzma files
run: |
find .
shell: bash
working-directory: ${{ env.lzma-install }}

- name: Setup perl
uses: shogo82148/actions-setup-perl@v1
with:
Expand Down

0 comments on commit 38ee5fc

Please sign in to comment.