Skip to content

Commit

Permalink
ci: ...
Browse files Browse the repository at this point in the history
  • Loading branch information
eWert-Online committed Jul 14, 2024
1 parent 42914cf commit d5fe08a
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions .github/workflows/publish-npm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,15 +61,6 @@ jobs:
- 5.2.x
runs-on: ${{ matrix.os }}
steps:
- name: Setup OpenSSL (macOS)
if: matrix.os == 'macOS-latest'
run: |
brew install openssl
ls -l /opt/homebrew/opt/openssl@3/include
echo "LDFLAGS=\"-L/opt/homebrew/opt/openssl@3/lib\"" >> $GITHUB_ENV
echo "CPPFLAGS=\"-I/opt/homebrew/opt/openssl@3/include\"" >> $GITHUB_ENV
echo "PKG_CONFIG_PATH=\"/opt/homebrew/opt/openssl@3/lib/pkgconfig\"" >> $GITHUB_ENV
- name: Checkout code
uses: actions/checkout@v4

Expand All @@ -80,6 +71,11 @@ jobs:

- name: Install dependencies
run: |
brew install openssl@3
ls -l /opt/homebrew/opt/openssl@3/include/openssl
export LDFLAGS="-L/opt/homebrew/opt/openssl@3/lib"
export CPPFLAGS="-I/opt/homebrew/opt/openssl@3/include"
export PKG_CONFIG_PATH="/opt/homebrew/opt/openssl@3/lib/pkgconfig"
env
opam install . --locked --deps-only --with-test --yes
Expand Down

0 comments on commit d5fe08a

Please sign in to comment.