On push #44
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: On push | |
run-name: On push | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
on: | |
- push | |
jobs: | |
build-linux: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
- name: Install CUDA | |
uses: Jimver/[email protected] | |
with: | |
cuda: '12.2.0' | |
method: network | |
sub-packages: '["nvcc", "cudart", "thrust"]' | |
non-cuda-sub-packages: '["libcublas", "libcublas-dev"]' | |
- name: Install LLVM and Clang | |
uses: KyleMayes/install-llvm-action@v1 | |
with: | |
version: "16.0" | |
- name: Install Mold | |
uses: rui314/setup-mold@v1 | |
- name: Install Ninja | |
uses: seanmiddleditch/gha-setup-ninja@master | |
- name: Install cmake | |
uses: jwlawson/[email protected] | |
with: | |
cmake-version: '3.18.x' | |
- name: Build | |
run: ./build |