-
Notifications
You must be signed in to change notification settings - Fork 31
27 lines (27 loc) · 948 Bytes
/
Ubuntu.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
name: Ubuntu
on: [push, pull_request, workflow_dispatch]
jobs:
UbuntuRun:
runs-on: ubuntu-22.04
steps:
- uses: Jimver/[email protected]
id: cuda-toolkit
with:
cuda: '12.6.0'
linux-local-args: '["--toolkit"]'
- run: sudo apt-get update
- run: sudo apt-get install -y xorg-dev libglu1-mesa-dev freeglut3-dev mesa-common-dev
- run: nvcc -V
- name: Checkout
uses: actions/checkout@v3
- name: Create build directory
run: mkdir ${{github.workspace}}/build
- name: Configure CMake
working-directory: ${{github.workspace}}/build
run: cmake ../
- name: Run make
working-directory: ${{github.workspace}}/build
run: make -j 4
#- name: Run Test
# working-directory: ${{github.workspace}}/build
# run: ctest --no-compress-output -T Test -C Release --output-on-failure