Skip to content

Commit

Permalink
hello(world): initial action and CMakeLists
Browse files Browse the repository at this point in the history
  • Loading branch information
romintomasetti committed May 14, 2024
1 parent 6b38969 commit 6745db6
Show file tree
Hide file tree
Showing 5 changed files with 39 additions and 1 deletion.
27 changes: 27 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Build

on:
push:
branches:
- main
pull_request:
branches:
- main

jobs:

build:
runs-on: [ubuntu-22.04]
steps:
- name: Checkout Code
uses: actions/checkout@v4

- name: Install requirements.
run : |
apt update
apt --yes --no-install-recommends install $(grep -vE "^\s*#" requirements/requirements.system.txt | tr "\n" " ")
- name: Configure and build.
run : |
cmake -S . build
cmake --build build
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Ignore CMake build directory
build*/*
7 changes: 7 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
cmake_minimum_required(VERSION 3.0)

project(
kokkos-utils
VERSION 0.0.1
LANGUAGES CXX
)
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
# kokkos-utils
This repository contains utilities related to `Kokkos`.

This repository contains utilities related to [`Kokkos`](https://kokkos.org/).
1 change: 1 addition & 0 deletions requirements/requirements.system.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
cmake

0 comments on commit 6745db6

Please sign in to comment.