Skip to content

chore: minor

chore: minor #3258

Workflow file for this run

name: "gpu-ci"
on: [workflow_dispatch, push, pull_request]
concurrency:
group: build-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
gpu-ci:
name: GPU-CI
runs-on: ubuntu-20.04
strategy:
max-parallel: 1
fail-fast: false
steps:
- name: Checkout Git Repository
uses: actions/checkout@v3
with:
submodules: recursive
- name: Free additional space on runner
run: ./.github/workflows/helpers/free_space_on_runner.sh
- name: Install nix
uses: cachix/install-nix-action@v25
with:
github_access_token: '${{ secrets.GITHUB_TOKEN }}'
- uses: cachix/cachix-action@v14
with:
name: ff
skipPush: true
# authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
- name: setup nix develop shell
uses: nicknovitski/[email protected]
env:
NIXPKGS_ALLOW_UNFREE: 1
with:
arguments: "--accept-flake-config --impure"
- name: run cmake
run: rm -rf build && mkdir build && cd build && cmake -DFF_CUDA_ARCH=60 -DCMAKE_CUDA_ARCHITECTURES=60 $CMAKE_FLAGS ..
- name: build test binaries
run: cd build && make -j kernels-tests
- name: run tests
run: cd build && ctest --progress --output-on-failure -L "^(kernels-tests)$"