Skip to content

Commit 37252b2

Browse files
committedApr 1, 2024
fixes
need to set some vars manually for github action
1 parent 689217f commit 37252b2

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed
 

‎.github/workflows/fauck.yml

+4-1
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,10 @@ jobs:
8383
8484
- name: Build FaucK Release
8585
run: |
86-
CMAKE_OSX_ARCHITECTURES=${{ matrix.CMAKE_OSX_ARCHITECTURES }} make ${{ matrix.os-simple }}
86+
make ${{ matrix.os-simple }}
87+
env:
88+
CMAKE_OSX_ARCHITECTURES: ${{ matrix.CMAKE_OSX_ARCHITECTURES }}
89+
LIBFAUST_DIR: ${{ matrix.LIBFAUST_DIR }}
8790

8891
- uses: actions/upload-artifact@v4
8992
with:

‎Makefile

+3-3
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@ UNAME_M := $(shell uname -m)
1414
# Set LIBFAUST_DIR based on OS and architecture
1515
ifeq ($(UNAME_S), Darwin)
1616
ifeq ($(UNAME_M), arm64)
17-
LIBFAUST_DIR := $(PWD)/thirdparty/libfaust/darwin-arm64/Release
17+
LIBFAUST_DIR ?= $(PWD)/thirdparty/libfaust/darwin-arm64/Release
1818
else
19-
LIBFAUST_DIR := $(PWD)/thirdparty/libfaust/darwin-x64/Release
19+
LIBFAUST_DIR ?= $(PWD)/thirdparty/libfaust/darwin-x64/Release
2020
endif
2121
else
22-
LIBFAUST_DIR := $(PWD)/thirdparty/libfaust/ubuntu-x86_64/Release
22+
LIBFAUST_DIR ?= $(PWD)/thirdparty/libfaust/ubuntu-x86_64/Release
2323
endif
2424

2525
CHUG=$(addsuffix $(CHUGIN_SUFFIX),$(CHUGIN_NAME))

0 commit comments

Comments
 (0)
Please sign in to comment.