Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add GitHub action for automatically testing the build process of the core library #16

Draft
wants to merge 63 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
63 commits
Select commit Hold shift + click to select a range
0a5cd55
Create cpp-cuda.yml
alexfreudenberg Jun 5, 2023
262cd82
Update cpp-cuda.yml
alexfreudenberg Jun 5, 2023
a690640
Include all branches for action
alexfreudenberg Jun 5, 2023
eee0058
Update cpp-cuda.yml
alexfreudenberg Jun 5, 2023
8a425e4
Update CUDA version
alexfreudenberg Jun 5, 2023
480d8f1
Update cpp-cuda.yml
alexfreudenberg Jun 5, 2023
7dcd25f
Update cpp-cuda.yml
alexfreudenberg Jun 5, 2023
73680b8
Update cpp-cuda.yml
alexfreudenberg Jun 5, 2023
fe31be7
Update cpp-cuda.yml
alexfreudenberg Jun 5, 2023
d9ea9dc
Update cpp-cuda.yml
alexfreudenberg Jun 5, 2023
7a3189f
Update cpp-cuda.yml
alexfreudenberg Jun 5, 2023
6e6464f
Update cpp-cuda.yml
alexfreudenberg Jun 5, 2023
01375eb
Update cpp-cuda.yml
alexfreudenberg Jun 5, 2023
25e3e02
Update cpp-cuda.yml
alexfreudenberg Jun 5, 2023
f7bacb9
Update cpp-cuda.yml
alexfreudenberg Jun 5, 2023
3726de0
Update cpp-cuda.yml
alexfreudenberg Jun 5, 2023
ee734e8
Update cpp-cuda.yml
alexfreudenberg Jun 5, 2023
9cc988c
Update cpp-cuda.yml
alexfreudenberg Jun 5, 2023
9df8887
Update cpp-cuda.yml
alexfreudenberg Jun 5, 2023
ae2f907
Update cpp-cuda.yml
alexfreudenberg Jun 5, 2023
24f2dbe
Update cpp-cuda.yml
alexfreudenberg Jun 5, 2023
22835cb
Update cpp-cuda.yml
alexfreudenberg Jun 5, 2023
8f7f6f6
Update cpp-cuda.yml
alexfreudenberg Jun 5, 2023
6c19f07
Update cpp-cuda.yml
alexfreudenberg Jun 5, 2023
442d162
Update cpp-cuda.yml
alexfreudenberg Jun 5, 2023
c75a207
Update cpp-cuda.yml
alexfreudenberg Jun 5, 2023
58d035d
Update cpp-cuda.yml
alexfreudenberg Jun 5, 2023
05e9138
Update cpp-cuda.yml
alexfreudenberg Jun 5, 2023
1163ea3
Bugfix/update sparse solve backend (#18)
alexfreudenberg Jun 6, 2023
eb57afd
Remove Const types for CUDA 11 compatibility
alexfreudenberg Jun 9, 2023
75fb132
Switch to clock-based time measurement
alexfreudenberg Jun 9, 2023
5fa2797
Addition of Fortran API for solve_gpu (#10)
jvdp1 Jun 10, 2023
9798581
hotfix/transpose solve (#22)
alexfreudenberg Jun 10, 2023
48b0dc3
Update contributors and descriptions (#24)
alexfreudenberg Jun 22, 2023
5044f09
Release: Integrate CUDA SNP matrix multiplication functionality (#23)
alexfreudenberg Jul 5, 2023
f6398f6
Add ssh-agent skeleton
alexfreudenberg Jul 5, 2023
9c54f46
Create npm-shrinkwrap.json
alexfreudenberg Jul 8, 2023
320ab8d
Create instance_mgmt.yml
alexfreudenberg Jul 8, 2023
887d361
Merge branch 'main' into feat/github_actions
alexfreudenberg Jul 8, 2023
85a81b2
Merge pull request #26 from alexfreudenberg/alexfreudenberg-patch-1
alexfreudenberg Jul 8, 2023
ddd43eb
Update cpp-cuda.yml
alexfreudenberg Jul 8, 2023
a7a3eab
Update instance_mgmt.yml
alexfreudenberg Jul 8, 2023
8e188c1
Update instance_mgmt.yml
alexfreudenberg Jul 8, 2023
a75926a
Update instance_mgmt.yml
alexfreudenberg Jul 8, 2023
4fdcd64
Update instance_mgmt.yml
alexfreudenberg Jul 8, 2023
7c73021
Update instance_mgmt.yml
alexfreudenberg Jul 8, 2023
8104fe7
Update instance_mgmt.yml
alexfreudenberg Jul 8, 2023
cbdb454
Update instance_mgmt.yml
alexfreudenberg Jul 8, 2023
1b6cf2c
Update instance_mgmt.yml
alexfreudenberg Jul 8, 2023
9fb19b1
Update instance_mgmt.yml
alexfreudenberg Jul 8, 2023
5f45cdf
Update instance_mgmt.yml
alexfreudenberg Jul 8, 2023
0f77c4c
Update instance_mgmt.yml
alexfreudenberg Jul 8, 2023
0756c60
Update instance_mgmt.yml
alexfreudenberg Jul 8, 2023
7dd7b8f
Update cpp-cuda.yml
alexfreudenberg Jul 8, 2023
06b3a02
Update cpp-cuda.yml
alexfreudenberg Jul 8, 2023
8161d7c
Update instance_mgmt.yml
alexfreudenberg Jul 8, 2023
7ba6529
Update and rename instance_mgmt.yml to instance_start.yml
alexfreudenberg Jul 8, 2023
032b075
Update cpp-cuda.yml
alexfreudenberg Jul 8, 2023
3ece3f1
Create instance-stop.yml
alexfreudenberg Jul 8, 2023
dec345a
Update workflow file names
alexfreudenberg Jul 8, 2023
718cdba
Port to icx and ifx
alexfreudenberg Jul 8, 2023
b2bd497
Fix workflow logic
alexfreudenberg Jul 8, 2023
3888845
Pass secrets to workflows downstream
alexfreudenberg Jul 8, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions .github/workflows/cpp-cuda.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: C/C++/CUDA CI

on:
workflow_call:

jobs:
build_gpu:
runs-on: GPU
steps:
- name: make
run: |
make -C src

call_shutdown_workflow:
name: Stop shutdown workflow
needs: build_gpu
if: ${{ always() }}
uses: ./.github/workflows/instance-stop.yml
secrets: inherit
32 changes: 32 additions & 0 deletions .github/workflows/instance-start.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs

name: Start instance

on:
pull_request:
branches:
- '**'

jobs:
start_machine:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/[email protected]
with:
# Version Spec of the version to use. Examples: 12.x, 10.15.1, >=10.15.0.
node-version: 18.x # optional
- run: |
npm install -g paperspace-node
paperspace machines start \
--apiKey ${{ secrets.PAPERSPACE_API_KEY }} \
--machineId "ps25kpnac"

call_cuda_workflow:
needs: start_machine
uses: ./.github/workflows/cpp-cuda.yml
secrets: inherit



23 changes: 23 additions & 0 deletions .github/workflows/instance-stop.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs

name: Stop instance

on:
workflow_call:

jobs:
stop_machine:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/[email protected]
with:
node-version: 18.x
- run: |
npm install -g paperspace-node
paperspace machines stop \
--apiKey ${{ secrets.PAPERSPACE_API_KEY }} \
--machineId "ps25kpnac"


Loading