diff --git a/.github/workflows/c-cpp.yml b/.github/workflows/c-cpp.yml index 6e0c069..a852f7e 100644 --- a/.github/workflows/c-cpp.yml +++ b/.github/workflows/c-cpp.yml @@ -32,15 +32,12 @@ jobs: - name: Mac libraries if: ${{ startsWith(matrix.target, 'macos') }} run: brew install pcre - - name: Test Mac PCRE - if: ${{ startsWith(matrix.target, 'macos') }} - run: echo "#include \n int main(){return 0;}" | cc -x c -l pcre -o testpcre - - name: ln Mac if: ${{ startsWith(matrix.target, 'macos') }} run: ln -s Makefile.FreeBSD Makefile - name: Mac variables if: ${{ startsWith(matrix.target, 'macos') }} - run: echo "LDFLAGS=-L/usr/local/opt/openssl/lib -L/opt/homebrew/opt/openssl/lib" >> $GITHUB_ENV && echo "CFLAGS=-I/usr/local/opt/openssl/include -I/opt/homebrew/opt/openssl/include" >> $GITHUB_ENV + run: echo "LDFLAGS=-L/usr/local/lib -L/usr/local/opt/openssl/lib -L/opt/homebrew/opt/openssl/lib" >> $GITHUB_ENV && echo "CFLAGS=-I/usr/local/include -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