Skip to content

Commit

Permalink
Upload release artifacts for macOS (#505)
Browse files Browse the repository at this point in the history
  • Loading branch information
elliottslaughter authored Jul 23, 2021
1 parent 4e52f1d commit d8d9078
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ jobs:
TERRA_LUA: ${{ matrix.lua }}
- uses: actions/upload-artifact@v2
with:
name: terra
name: terra-${{ matrix.os }}-llvm-${{ matrix.llvm }}
path: |
*.zip
docker:
Expand Down
2 changes: 1 addition & 1 deletion travis.sh
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ if [[ $USE_CMAKE -eq 1 ]]; then
fi

# Only deploy CMake builds, and only with LLVM 9.
if [[ $LLVM_CONFIG = llvm-config-9 && $SLIB_INCLUDE_LLVM -eq 1 && $USE_CUDA -eq 1 && $TERRA_LUA = luajit ]]; then
if [[ $LLVM_CONFIG = llvm-config-9 && $SLIB_INCLUDE_LLVM -eq 1 && ( $USE_CUDA -eq 1 || $(uname) == Darwin ) && $TERRA_LUA = luajit ]]; then
RELEASE_NAME=terra-`uname | sed -e s/Darwin/OSX/`-`uname -m`-`git rev-parse --short HEAD`
mv install $RELEASE_NAME
zip -q -r $RELEASE_NAME.zip $RELEASE_NAME
Expand Down

0 comments on commit d8d9078

Please sign in to comment.