Compare commits

...

No commits in common. "master" and "main" have entirely different histories.
master ... main

5 changed files with 29 additions and 12 deletions

16
.gitea/workflows/ci.yml Normal file
View File

@ -0,0 +1,16 @@
name: First CI
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
rid: ["win-x64", "linux-x64"]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-dotnet@v3
with:
dotnet-version: '8.0.x'
- run: dotnet restore
- run: dotnet publish -o app -r ${{ matrix.rid }} --sc /p:PublishSingleFile=true

11
123.csproj Normal file
View File

@ -0,0 +1,11 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net8.0</TargetFramework>
<RootNamespace>_123</RootNamespace>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>
</Project>

View File

@ -1,6 +0,0 @@
cmake_minimum_required(VERSION 3.29)
project(123)
set(CMAKE_CXX_STANDARD 20)
add_executable(123 main.cpp)

2
Program.cs Normal file
View File

@ -0,0 +1,2 @@
// See https://aka.ms/new-console-template for more information
Console.WriteLine("Hello, World!");

View File

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