Skip to content

Commit 06bd1ef

Browse files
ci: omit double cmake configure
1 parent e4015de commit 06bd1ef

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

.github/workflows/cmake.yaml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,12 @@ jobs:
1616
- name: Checkout
1717
uses: actions/checkout@v4.2.0
1818
# https://github.com/actions/checkout/issues/462#issuecomment-1697584038
19-
- name: Configure CMake
19+
- name: Patch CMakeLists for PAT access
2020
env:
2121
GH_PAT: ${{ secrets.READ_TOKEN }}
2222
run: |
2323
# Need a little regex here so we can download repo with PAT
2424
sed -i 's|git@github.com:|https://$ENV\{GH_PAT\}@github.com/|g' CMakeLists.txt
25-
cmake -S . -B build
2625
- name: Configure and Build Project
2726
uses: threeal/cmake-action@v1.3.0
2827
with:
@@ -56,12 +55,11 @@ jobs:
5655
non-cuda-sub-packages: '["libcufile-dev", "libcublas-dev"]'
5756

5857
# https://github.com/actions/checkout/issues/462#issuecomment-1697584038
59-
- name: Configure CMake (fetch dalotia with cuFile)
58+
- name: Patch CMakeLists for PAT access
6059
env:
6160
GH_PAT: ${{ secrets.READ_TOKEN }}
6261
run: |
6362
sed -i 's|git@github.com:|https://$ENV\{GH_PAT\}@github.com/|g' CMakeLists.txt
64-
cmake -S . -B build-cublas
6563
6664
- name: Configure and Build with cuBLAS
6765
uses: threeal/cmake-action@v1.3.0

0 commit comments

Comments
 (0)