Skip to content

Commit

Permalink
[ci] Set environment variables for brew mac build
Browse files Browse the repository at this point in the history
  • Loading branch information
tobil4sk committed Dec 16, 2024
1 parent 671f7b5 commit 189a527
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -572,6 +572,10 @@ jobs:
run: |
set -ex
brew install zlib pcre2 mbedtls neko
echo "NEKOPATH=$(brew --prefix)/lib/neko" >> $GITHUB_ENV
# set environment variables for compiling with brew packages
echo "C_INCLUDE_PATH=$(brew --prefix zlib)/include;$(brew --prefix pcre2)/include;$(brew --prefix mbedtls)/include" >> $GITHUB_ENV
echo "LIBRARY_PATH=$(brew --prefix zlib)/lib;$(brew --prefix pcre2)/lib;$(brew --prefix mbedtls)/lib" >> $GITHUB_ENV
- name: Print Neko version
run: neko -version 2>&1
Expand Down
4 changes: 4 additions & 0 deletions extra/github-actions/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -353,6 +353,10 @@ jobs:
run: |
set -ex
brew install zlib pcre2 mbedtls neko
echo "NEKOPATH=$(brew --prefix)/lib/neko" >> $GITHUB_ENV
# set environment variables for compiling with brew packages
echo "C_INCLUDE_PATH=$(brew --prefix zlib)/include;$(brew --prefix pcre2)/include;$(brew --prefix mbedtls)/include" >> $GITHUB_ENV
echo "LIBRARY_PATH=$(brew --prefix zlib)/lib;$(brew --prefix pcre2)/lib;$(brew --prefix mbedtls)/lib" >> $GITHUB_ENV
- name: Print Neko version
run: neko -version 2>&1
Expand Down

0 comments on commit 189a527

Please sign in to comment.