add a test project for testing this action

This commit is contained in:
Alfi Maulana 2023-01-06 15:23:09 +07:00
parent 074c9cd5fc
commit f18936167f
No known key found for this signature in database
GPG Key ID: 2242A64C2A8DF5A4
3 changed files with 10 additions and 0 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
build

3
test/CMakeLists.txt Normal file
View File

@ -0,0 +1,3 @@
cmake_minimum_required(VERSION 3.0)
project(test)
add_executable(hello_world hello_world.cpp)

6
test/hello_world.cpp Normal file
View File

@ -0,0 +1,6 @@
#include <iostream>
int main() {
std::cout << "Hello world!" << std::endl;
return 0;
}