From f18936167faa1c333ea361971d583537374a008d Mon Sep 17 00:00:00 2001 From: Alfi Maulana Date: Fri, 6 Jan 2023 15:23:09 +0700 Subject: [PATCH] add a test project for testing this action --- .gitignore | 1 + test/CMakeLists.txt | 3 +++ test/hello_world.cpp | 6 ++++++ 3 files changed, 10 insertions(+) create mode 100644 .gitignore create mode 100644 test/CMakeLists.txt create mode 100644 test/hello_world.cpp diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..378eac2 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +build diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt new file mode 100644 index 0000000..71bf957 --- /dev/null +++ b/test/CMakeLists.txt @@ -0,0 +1,3 @@ +cmake_minimum_required(VERSION 3.0) +project(test) +add_executable(hello_world hello_world.cpp) diff --git a/test/hello_world.cpp b/test/hello_world.cpp new file mode 100644 index 0000000..2242cf0 --- /dev/null +++ b/test/hello_world.cpp @@ -0,0 +1,6 @@ +#include + +int main() { + std::cout << "Hello world!" << std::endl; + return 0; +}