Skip to content

Commit

Permalink
ci: add example cuda deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
pplmx committed Sep 9, 2024
1 parent 649f696 commit 28bf892
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/configs/template_inputs_cuda_cmake.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
default_context:
full_name: X Author Name
email: [email protected]
github_username: x-pt
project_name: Example CUDA CMake
project_slug: example-cuda-cmake
package_name: example_cuda_cmake
project_desc: A nice example project

# C++
cxx_build_tool: cmake
11 changes: 11 additions & 0 deletions .github/configs/template_inputs_cuda_xmake.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
default_context:
full_name: X Author Name
email: [email protected]
github_username: x-pt
project_name: Example CUDA XMake
project_slug: example-cuda-xmake
package_name: example_cuda_xmake
project_desc: A nice example project

# C++
cxx_build_tool: xmake
10 changes: 10 additions & 0 deletions .github/workflows/cd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,16 @@ jobs:
strategy:
matrix:
config:
- name: cuda cmake example
template_dir: template/cuda
config_file: .github/configs/template_inputs_cuda_cmake.yml
publish_dir: example-cuda-cmake
repo_name: x-pt/example-cuda-cmake
- name: cuda xmake example
template_dir: template/cuda
config_file: .github/configs/template_inputs_cuda_xmake.yml
publish_dir: example-cuda-xmake
repo_name: x-pt/example-cuda-xmake
- name: cxx cmake example
template_dir: template/cxx
config_file: .github/configs/template_inputs_cxx_cmake.yml
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ Check out an example project generated with this template:

- [Example for C++ with CMake](https://github.com/x-pt/example-cxx-cmake)
- [Example for C++ with XMake](https://github.com/x-pt/example-cxx-xmake)
- [Example for CUDA with CMake](https://github.com/x-pt/example-cuda-cmake)
- [Example for CUDA with XMake](https://github.com/x-pt/example-cuda-xmake)
- [Example for Golang](https://github.com/x-pt/example-go)
- [Example for Python](https://github.com/x-pt/example-py)
- [Example for TypeScript](https://github.com/x-pt/example-ts)
Expand Down

0 comments on commit 28bf892

Please sign in to comment.