Skip to content

Commit

Permalink
test: build
Browse files Browse the repository at this point in the history
  • Loading branch information
sangjanai committed May 16, 2024
1 parent f3db8a8 commit 79e61e1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,4 +71,4 @@ jobs:
uses: actions/upload-artifact@v2
with:
name: cortex.python-runtime-${{ matrix.os }}-${{ matrix.name }}
path: ./cortex.python-runtime
path: ./cortex.python-runtime.tar.gz
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ endif

package:
ifeq ($(OS),Windows_NT)
@powershell -Command "New-Item -ItemType Directory -Path cortex.python-runtime -Force; cp build\\Release\\engine.dll cortex.python-runtime\\; cp -r build\\Release\\python cortex.python-runtime; Compress-Archive -Path cortex.python-runtime\\* -DestinationPath cortex.python-runtime.zip;"
@powershell -Command "mkdir -p cortex.python-runtime; cp build\Release\engine.dll cortex.python-runtime\; cp -r build\Release\python cortex.python-runtime\; 7z a -ttar temp.tar cortex.python-runtime\*; 7z a -tgzip cortex.python-runtime.tar.gz temp.tar;"
else
@mkdir -p cortex.python-runtime && \
cp build/libengine.$(shell uname | tr '[:upper:]' '[:lower:]' | sed 's/darwin/dylib/;s/linux/so/') cortex.python-runtime && \
Expand Down

0 comments on commit 79e61e1

Please sign in to comment.