Skip to content

Commit

Permalink
install cmake in workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
gandalfr-KY authored Dec 20, 2024
1 parent ee241cb commit f8f6847
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,15 @@ jobs:
with:
key: "${{ github.job }}-${{ matrix.os }}-${{ matrix.architecture }}-${{ matrix.device }}"
verbose: 2

- name: Test
run: |
wget https://github.com/Kitware/CMake/releases/download/v3.28.0/cmake-3.28.0-Linux-x86_64.sh -q -O /tmp/cmake-install.sh && \
chmod u+x /tmp/cmake-install.sh && \
mkdir /opt/cmake-3.28.0 && \
/tmp/cmake-install.sh --skip-license --prefix=/opt/cmake-3.28.0 && \
rm /tmp/cmake-install.sh && \
ln -s /opt/cmake-3.28.0/bin/* /usr/local/bin
- name: Install CUDA toolkit
if: ${{ matrix.device == 'cuda' }}
Expand Down

0 comments on commit f8f6847

Please sign in to comment.