Skip to content

Commit

Permalink
update macos build
Browse files Browse the repository at this point in the history
  • Loading branch information
igagis committed Apr 28, 2024
1 parent 86e4b36 commit 2e0cfaa
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,9 +107,9 @@ jobs:
- name: install deps
run: myci-brew-install.sh `myci-list-deps-homebrew.sh`
- name: build
run: make
run: make --include-dir=$(brew --prefix)/include
- name: test
run: make test
run: make --include-dir=$(brew --prefix)/include test
- name: deploy
run: myci-deploy-homebrew.sh --tap cppfw/tap
if: startsWith(github.ref, 'refs/tags/')
Expand Down
4 changes: 2 additions & 2 deletions homebrew/myci.rb.in
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ class Myci < Formula

def install
ENV['PATH'] += ':/usr/local/bin'
system "make", "install", "PREFIX=#{prefix}"
system "make", "--include-dir=$(brew --prefix)/include", "install", "PREFIX=#{prefix}"
end

test do
system "make", "test"
system "make", "--include-dir=$(brew --prefix)/include", "test"
end
end

0 comments on commit 2e0cfaa

Please sign in to comment.