Skip to content

Commit

Permalink
CI attempt 5
Browse files Browse the repository at this point in the history
Let's try this one more time, and then hide the sin by squashing everything.
  • Loading branch information
mdegans committed May 22, 2024
1 parent 0c10696 commit 7eae599
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
uses: actions/upload-artifact@v4
with:
name: mac-app
path: target/release/bundle/osx/Weave.app
path: target/release/bundle/osx/
if-no-files-found: error
compression-level: 9
overwrite: true
Expand All @@ -68,7 +68,10 @@ jobs:
- name: Install cargo-llvm-cov
run: cargo install cargo-llvm-cov
- name: Install CUDA
run: sudo apt-get install nvidia-cuda-toolkit nvidia-cudnn nvidia-cuda-dev
# Cuda is not found but it works on local. I'm going to try to add
# libcudart12 since it's the only difference, but it should be a
# dependency of nvidia-cuda-toolkit IDK what's going on
run: sudo apt-get install nvidia-cuda-toolkit nvidia-cudnn nvidia-cuda-dev libcudart12
- name: Run tests with coverage
run: cargo llvm-cov --workspace --lcov --output-path ./target/lcov.info
- name: Upload coverage reports to Codecov
Expand All @@ -83,7 +86,7 @@ jobs:
uses: actions/upload-artifact@v4
with:
name: linux-binary
path: target/release/bundle/linux/Weave
path: target/release/bundle/linux/
if-no-files-found: error
compression-level: 9
overwrite: true
Expand Down Expand Up @@ -119,7 +122,7 @@ jobs:
uses: actions/upload-artifact@v4
with:
name: windows-exe
path: target/release/bundle/windows/Weave.exe
path: target/release/bundle/windows/
if-no-files-found: error
compression-level: 9
overwrite: true
Expand Down Expand Up @@ -229,12 +232,12 @@ jobs:
uses: actions/download-artifact@v4
with:
name: mac-app
path: target/release/bundle/osx/Weave.app
path: target/release/bundle/osx/
- name: Download Linux Binary
uses: actions/download-artifact@v4
with:
name: linux-binary
path: target/release/bundle/linux/Weave
path: target/release/bundle/linux/
- name: Download Windows Binary
uses: actions/download-artifact@v4
with:
Expand All @@ -244,7 +247,7 @@ jobs:
uses: softprops/action-gh-release@v2.0.5
if: startsWith(github.ref, 'refs/tags/')
with:
files: target/release/bundle/osx/Weave.app
files: target/release/bundle/osx/
token: ${{ secrets.PAT }}
- name: Publish Linux Binary
uses: softprops/action-gh-release@v2.0.5
Expand Down

0 comments on commit 7eae599

Please sign in to comment.