Skip to content

Commit

Permalink
fix other mac paths
Browse files Browse the repository at this point in the history
  • Loading branch information
spezifisch committed Aug 7, 2024
1 parent 2a402b7 commit dc68e2d
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-macos-arm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ jobs:

- name: Export paths
run: |
echo "C_INCLUDE_PATH=/usr/local/include:/opt/homebrew/include:\$C_INCLUDE_PATH" >> $GITHUB_ENV
echo "LIBRARY_PATH=/usr/local/lib:/opt/homebrew/lib:\$LIBRARY_PATH" >> $GITHUB_ENV
echo "C_INCLUDE_PATH=/usr/local/include:/opt/homebrew/include:$C_INCLUDE_PATH" >> $GITHUB_ENV
echo "LIBRARY_PATH=/usr/local/lib:/opt/homebrew/lib:$LIBRARY_PATH" >> $GITHUB_ENV
echo "CGO_CFLAGS=-I/usr/local/include -I/opt/homebrew/include" >> $GITHUB_ENV
echo "CGO_LDFLAGS=-L/usr/local/lib -L/opt/homebrew/lib" >> $GITHUB_ENV
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/build-macos-intel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@ jobs:

- name: Export paths
run: |
echo "export C_INCLUDE_PATH=/usr/local/include:/opt/homebrew/include:$C_INCLUDE_PATH" >> $GITHUB_ENV
echo "export LIBRARY_PATH=/usr/local/lib:/opt/homebrew/lib:$LIBRARY_PATH" >> $GITHUB_ENV
echo "export CGO_CFLAGS=\"-I/usr/local/include -I/opt/homebrew/include\"" >> $GITHUB_ENV
echo "export CGO_LDFLAGS=\"-L/usr/local/lib -L/opt/homebrew/lib\"" >> $GITHUB_ENV
echo "C_INCLUDE_PATH=/usr/local/include:/opt/homebrew/include:$C_INCLUDE_PATH" >> $GITHUB_ENV
echo "LIBRARY_PATH=/usr/local/lib:/opt/homebrew/lib:$LIBRARY_PATH" >> $GITHUB_ENV
echo "CGO_CFLAGS=-I/usr/local/include -I/opt/homebrew/include" >> $GITHUB_ENV
echo "CGO_LDFLAGS=-L/usr/local/lib -L/opt/homebrew/lib" >> $GITHUB_ENV
- name: Compile
run: go build
8 changes: 4 additions & 4 deletions .github/workflows/lint-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ jobs:

- name: Export paths
run: |
echo "export C_INCLUDE_PATH=/usr/local/include:/opt/homebrew/include:$C_INCLUDE_PATH" >> $GITHUB_ENV
echo "export LIBRARY_PATH=/usr/local/lib:/opt/homebrew/lib:$LIBRARY_PATH" >> $GITHUB_ENV
echo "export CGO_CFLAGS=\"-I/usr/local/include -I/opt/homebrew/include\"" >> $GITHUB_ENV
echo "export CGO_LDFLAGS=\"-L/usr/local/lib -L/opt/homebrew/lib\"" >> $GITHUB_ENV
echo "C_INCLUDE_PATH=/usr/local/include:/opt/homebrew/include:$C_INCLUDE_PATH" >> $GITHUB_ENV
echo "LIBRARY_PATH=/usr/local/lib:/opt/homebrew/lib:$LIBRARY_PATH" >> $GITHUB_ENV
echo "CGO_CFLAGS=-I/usr/local/include -I/opt/homebrew/include" >> $GITHUB_ENV
echo "CGO_LDFLAGS=-L/usr/local/lib -L/opt/homebrew/lib" >> $GITHUB_ENV
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
Expand Down

0 comments on commit dc68e2d

Please sign in to comment.