From b5343bdeb1f74fdec6eb0ad4612a2437ac550353 Mon Sep 17 00:00:00 2001 From: Tom Schammo Date: Wed, 26 Jun 2024 12:37:22 +0200 Subject: [PATCH] build(CI/CD): Don't use Makefile to build the module Adjust workflow to not use the Makefile to build and install the module. --- .github/workflows/build-module.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build-module.yml b/.github/workflows/build-module.yml index c6b337d..369e341 100644 --- a/.github/workflows/build-module.yml +++ b/.github/workflows/build-module.yml @@ -37,7 +37,7 @@ jobs: echo "TORCH_PATH=$(python -c 'import torch; import os; print(os.path.join(torch.__path__[0], "share", "cmake"))')" >> $GITHUB_ENV - name: Build and install C++ module run: | - sudo make install + python -m pip install . - name: Test with pytest run: | pytest