Skip to content

Commit

Permalink
Upload artifacts via GitHub actions (#491)
Browse files Browse the repository at this point in the history
  • Loading branch information
elliottslaughter authored Apr 22, 2021
1 parent 58a11ae commit e4ec5d1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,11 @@ jobs:
SLIB_INCLUDE_LLVM: ${{ matrix.slib }}
SLIB_INCLUDE_LUAJIT: ${{ matrix.slib }}
TERRA_LUA: ${{ matrix.lua }}
- uses: actions/upload-artifact@v2
with:
name: terra
path: |
*.zip
docker:
name: Docker
runs-on: ubuntu-latest
Expand Down
4 changes: 2 additions & 2 deletions travis.sh
Original file line number Diff line number Diff line change
Expand Up @@ -221,8 +221,8 @@ if [[ $USE_CMAKE -eq 1 ]]; then
popd
fi

# Only deploy CMake builds, and only with LLVM 6.
if [[ $LLVM_CONFIG = llvm-config-6.0 && $USE_CUDA -eq 1 && ( $CC = gcc || $(uname) = Darwin ) ]]; then
# Only deploy CMake builds, and only with LLVM 9.
if [[ $LLVM_CONFIG = llvm-config-9 && $USE_CUDA -eq 1 && $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 e4ec5d1

Please sign in to comment.