! Update Repo
Gitea Actions Deploy / Explore-Gitea-Actions (push) Failing after 11m30s Details

This commit is contained in:
indigo 2023-12-26 22:25:06 +08:00
parent 43af8679d0
commit d5db60e42b
6 changed files with 117 additions and 1 deletions

View File

@ -9,3 +9,8 @@ jobs:
- run: echo "🎉 The job was automatically triggered by a ${{ gitea.event_name }} event."
- run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by Gitea!"
- run: echo "🔎 The name of your branch is ${{ gitea.ref }} and your repository is ${{ gitea.repository }}."
- name: Check out repository code
uses: actions/checkout@v3
- run: echo "💡 The ${{ gitea.repository }} repository has been cloned to the runner."
- run: echo "🖥️ The workflow is now ready to test your code on the runner."

89
.gitignore vendored Normal file
View File

@ -0,0 +1,89 @@
# File created using '.gitignore Generator' for Visual Studio Code: https://bit.ly/vscode-gig
# Created by https://www.toptal.com/developers/gitignore/api/windows,visualstudiocode,c++
# Edit at https://www.toptal.com/developers/gitignore?templates=windows,visualstudiocode,c++
### C++ ###
# Prerequisites
*.d
# Compiled Object files
*.slo
*.lo
*.o
*.obj
# Precompiled Headers
*.gch
*.pch
# Compiled Dynamic libraries
*.so
*.dylib
*.dll
# Fortran module files
*.mod
*.smod
# Compiled Static libraries
*.lai
*.la
*.a
*.lib
# Executables
*.exe
*.out
*.app
### VisualStudioCode ###
.vscode/*
!.vscode/settings.json
!.vscode/tasks.json
!.vscode/launch.json
!.vscode/extensions.json
!.vscode/*.code-snippets
build/*
# Local History for Visual Studio Code
.history/
# Built Visual Studio Code Extensions
*.vsix
### VisualStudioCode Patch ###
# Ignore all local history of files
.history
.ionide
### Windows ###
# Windows thumbnail cache files
Thumbs.db
Thumbs.db:encryptable
ehthumbs.db
ehthumbs_vista.db
# Dump file
*.stackdump
# Folder config file
[Dd]esktop.ini
# Recycle Bin used on file shares
$RECYCLE.BIN/
# Windows Installer files
*.cab
*.msi
*.msix
*.msm
*.msp
# Windows shortcuts
*.lnk
# End of https://www.toptal.com/developers/gitignore/api/windows,visualstudiocode,c++
# Custom rules (everything added below won't be overriden by 'Generate .gitignore File' if you use 'Update' option)

3
.vscode/settings.json vendored Normal file
View File

@ -0,0 +1,3 @@
{
"cmake.options.statusBarVisibility": "visible"
}

4
CMakeLists.txt Normal file
View File

@ -0,0 +1,4 @@
Project(TestRepo)
cmake_minimum_required(VERSION 3.24)
add_subdirectory(src)

5
src/CMakeLists.txt Normal file
View File

@ -0,0 +1,5 @@
project(helloworld)
set(SRC_FILE "main.cpp")
add_executable(${PROJECT_NAME} WIN32 ${SRC_FILE})

10
src/main.cpp Normal file
View File

@ -0,0 +1,10 @@
#include <string>
#include <iostream>
#include <stdio.h>
int WinMain(int argc, char const *argv[])
{
/* code */
std::cout << "Hello World!!!!" << std::endl;
return 0;
}