diff --git a/.github/workflows/c-cpp.yml b/.github/workflows/c-cpp.yml deleted file mode 100644 index 55a0595..0000000 --- a/.github/workflows/c-cpp.yml +++ /dev/null @@ -1,35 +0,0 @@ -name: C/C++/CUDA Binary build - -on: - push: - branches: [ "main" ] - pull_request: - branches: [ "main" ] - -jobs: - build-sequential: - - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v3 - - name: make clean - run: make clean - - - name: make sequential - run: make sequential - - build-cuda: - runs-on: ubuntu-latest - - steps: - - uses: Jimver/cuda-toolkit@v0.2.11 - id: cuda-toolkit - with: - cuda: '12.1.0' - - # - run: echo "Installed cuda version is: ${{steps.cuda-toolkit.outputs.cuda}}" - - # - run: echo "Cuda install location: ${{steps.cuda-toolkit.outputs.CUDA_PATH}}" - - name : infos - run: nvcc -V \ No newline at end of file diff --git a/.github/workflows/parallel.yml b/.github/workflows/parallel.yml new file mode 100644 index 0000000..57fe63e --- /dev/null +++ b/.github/workflows/parallel.yml @@ -0,0 +1,23 @@ +name: NVCC + +on: + push: + branches: [ "main" ] + pull_request: + branches: [ "main" ] + +jobs: + build-parallel: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + - uses: Jimver/cuda-toolkit@v0.2.11 + id: cuda-toolkit + with: + cuda: '12.1.0' + - name: cuda-build + shell: | + bash + - run: nvcc -V \ No newline at end of file diff --git a/.github/workflows/sequential.yml b/.github/workflows/sequential.yml new file mode 100644 index 0000000..290d7b3 --- /dev/null +++ b/.github/workflows/sequential.yml @@ -0,0 +1,20 @@ +name: C Binary build + +on: + push: + branches: [ "main" ] + pull_request: + branches: [ "main" ] + +jobs: + build-sequential: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + - name: make clean + run: make clean + + - name: make sequential + run: make sequential diff --git a/README.md b/README.md index c65bf05..b7fb474 100644 --- a/README.md +++ b/README.md @@ -20,6 +20,6 @@ make parallel ``` ### TODO LIST -- [ ] ⚠️ **IMPORTANT** more tests on my GPU (working on my Mac M1 rn🥲) +- [X] ⚠️ **IMPORTANT** more tests on my GPU (working on my Mac M1 rn🥲) - [ ] more performances evaluation - [ ] CUDA workflow \ No newline at end of file