mirror of
https://github.com/3proxy/3proxy.git
synced 2026-03-30 18:40:10 +08:00
Try to use env variables in Mac flow
This commit is contained in:
parent
b678c9feff
commit
e23365e435
4
.github/workflows/c-cpp.yml
vendored
4
.github/workflows/c-cpp.yml
vendored
@ -32,9 +32,9 @@ jobs:
|
|||||||
- name: ln Mac
|
- name: ln Mac
|
||||||
if: ${{ startsWith(matrix.target, 'macos') }}
|
if: ${{ startsWith(matrix.target, 'macos') }}
|
||||||
run: ln -s Makefile.FreeBSD Makefile
|
run: ln -s Makefile.FreeBSD Makefile
|
||||||
- name: Mac libraries
|
- name: Mac variables
|
||||||
if: ${{ startsWith(matrix.target, 'macos') }}
|
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
|
- name: ln Windows
|
||||||
if: ${{ startsWith(matrix.target, 'windows') }}
|
if: ${{ startsWith(matrix.target, 'windows') }}
|
||||||
run: copy Makefile.win Makefile
|
run: copy Makefile.win Makefile
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user