-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- add required nvcuda.dll for those who don't have it - lower CUDA (therefore nvidia driver) requirements - untrack PTX I am aware of an issue with ANSI escape sequences showing in windows terminals. This seems related to eyre-rs/color-eyre#80 and the owo_colors crate. Not sure how to fix that. Maybe switch to anyhow and use crossterm instead of owo colors would work, but we would loose the colorful error reports.
- Loading branch information
1 parent
07eb0cc
commit 013f71e
Showing
3 changed files
with
12 additions
and
24,654 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,7 +11,7 @@ jobs: | |
run: docker build -t rust-cuda . | ||
|
||
- name: Start Docker | ||
run: docker run -t -d -v $PWD:/root/rust-cuda --name builder rust-cuda | ||
run: docker run -t -d -v $PWD:/root/rust-cuda --name builder rust-cuda | ||
|
||
- name: Build executable | ||
run: docker exec -w /root/rust-cuda/cli builder cargo build --release | ||
|
@@ -37,7 +37,7 @@ jobs: | |
- name: Install CUDA | ||
uses: Jimver/[email protected] | ||
with: | ||
cuda: '11.7.0' | ||
cuda: "11.2.2" | ||
|
||
- name: Build executable | ||
run: | | ||
|
@@ -53,11 +53,17 @@ jobs: | |
cd ../cli | ||
cargo test --release --no-fail-fast | ||
- name: Zip with DLL | ||
run: | | ||
cd cli/target/release/ | ||
cp C:\\Windows\\System32\\nvcuda.dll . | ||
7z a cugparck-cli.zip nvcuda.dll cugparck-cli.exe | ||
- name: Upload artifact | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: cug-windows | ||
path: cli/target/release/cugparck-cli.exe | ||
path: cli/target/release/cugparck-cli.zip | ||
|
||
upload: | ||
needs: [build_windows, build_linux] | ||
|
@@ -105,6 +111,6 @@ jobs: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
upload_url: ${{ steps.create_release.outputs.upload_url }} | ||
asset_path: cugparck-cli.exe | ||
asset_name: cug-windows-${{ steps.commit.outputs.hash }}.exe | ||
asset_path: cugparck-cli.zip | ||
asset_name: cug-windows-${{ steps.commit.outputs.hash }}.zip | ||
asset_content_type: application/zip |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
.vscode/ | ||
.devcontainer/ | ||
|
||
resources/module.ptx | ||
|
||
# Generated by Cargo | ||
# will have compiled files and executables | ||
|
Oops, something went wrong.