Try to use env variables in Mac flow

This commit is contained in:
Vladimir Dubrovin 2026-03-27 17:07:55 +03:00
parent b678c9feff
commit e23365e435

View File

@ -32,9 +32,9 @@ jobs:
- name: ln Mac
if: ${{ startsWith(matrix.target, 'macos') }}
run: ln -s Makefile.FreeBSD Makefile
- name: Mac libraries
- name: Mac variables
if: ${{ startsWith(matrix.target, 'macos') }}
run: brew install openssl
run: echo "LDFLAGS=-L/usr/local/opt/openssl/lib -L/opt/homebrew/opt/openssl/lib" >> $GITHUB_ENV && echo "CPPFLAGS=-I/usr/local/opt/openssl/include -I/opt/homebrew/opt/openssl/include" >> $GITHUB_ENV
- name: ln Windows
if: ${{ startsWith(matrix.target, 'windows') }}
run: copy Makefile.win Makefile