Skip to content

Commit

Permalink
Makefile: detected TINYGO now works even if a rule changes directory
Browse files Browse the repository at this point in the history
  • Loading branch information
dkegel-fastly committed Jan 20, 2022
1 parent e9d182c commit 6966c6e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,4 +92,4 @@ jobs:
path: build/tinygo.darwin-amd64.tar.gz
- name: Smoke tests
shell: bash
run: make smoketest TINYGO=build/tinygo AVR=0
run: make smoketest TINYGO=$(PWD)/build/tinygo AVR=0
2 changes: 1 addition & 1 deletion .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,6 @@ jobs:
path: build/release/release.zip
- name: Smoke tests
shell: bash
run: make smoketest TINYGO=build/tinygo AVR=0 XTENSA=0
run: make smoketest TINYGO=$(PWD)/build/tinygo AVR=0 XTENSA=0
- name: Test stdlib packages
run: make tinygo-test
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ GOTESTFLAGS ?= -v
MD5SUM = md5sum

# tinygo binary for tests
TINYGO ?= $(call detect,tinygo,tinygo build/tinygo)
TINYGO ?= $(call detect,tinygo,tinygo $(PWD)/build/tinygo)

# Use CCACHE for LLVM if possible
ifneq (, $(shell command -v ccache 2> /dev/null))
Expand Down

0 comments on commit 6966c6e

Please sign in to comment.