Compare commits
19 Commits
new_featur
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ac23a29452 | ||
|
|
35e4b7fe2b | ||
|
|
894aa227a2 | ||
|
|
43c8340e0b | ||
|
|
e2318f2691 | ||
|
|
89164b6ab1 | ||
|
|
e7baa9938c | ||
|
|
5951c7eb69 | ||
|
|
27cff653e7 | ||
|
|
23fb763eb3 | ||
|
|
892cfd81c5 | ||
|
|
8454f89ce1 | ||
|
|
f3fcd92db9 | ||
|
|
a02501f746 | ||
|
|
f580a99738 | ||
|
|
f555c2a595 | ||
| dca5c1259b | |||
|
|
0e8f391378 | ||
| 0ca87c99b2 |
29
.gitea/workflows/ci.yml
Normal file
29
.gitea/workflows/ci.yml
Normal file
@@ -0,0 +1,29 @@
|
|||||||
|
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
|
||||||
|
|
||||||
|
- name: Publish for ${{ matrix.rid }}
|
||||||
|
run: dotnet publish ./Lab7.csproj -c Release -o app-${{ matrix.rid }} -r ${{ matrix.rid }} -p:PublishSingleFile=true -p:AssemblyName=app
|
||||||
|
|
||||||
|
- name: Archive artifact
|
||||||
|
run: tar cf app-${{ matrix.rid }}.tar app-${{ matrix.rid }}/
|
||||||
|
|
||||||
|
- name: Upload artifact
|
||||||
|
uses: actions/upload-artifact@v3
|
||||||
|
with:
|
||||||
|
name: app-${{ matrix.rid }}
|
||||||
|
path: app-${{ matrix.rid }}.tar
|
||||||
8
.idea/.gitignore
generated
vendored
Normal file
8
.idea/.gitignore
generated
vendored
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
# Default ignored files
|
||||||
|
/shelf/
|
||||||
|
/workspace.xml
|
||||||
|
# Editor-based HTTP Client requests
|
||||||
|
/httpRequests/
|
||||||
|
# Datasource local storage ignored files
|
||||||
|
/dataSources/
|
||||||
|
/dataSources.local.xml
|
||||||
@@ -1,4 +1,13 @@
|
|||||||
void main(){
|
using System;
|
||||||
System.out.println(new Date());
|
|
||||||
System.out.println("Hello world");
|
namespace Lab2
|
||||||
|
{
|
||||||
|
public class DemoApplication
|
||||||
|
{
|
||||||
|
public static void Main(string[] args)
|
||||||
|
{
|
||||||
|
Console.WriteLine(DateTime.Now);
|
||||||
|
Console.WriteLine("Hello world");
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
10
Lab7.csproj
Normal file
10
Lab7.csproj
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
<Project Sdk="Microsoft.NET.Sdk">
|
||||||
|
|
||||||
|
<PropertyGroup>
|
||||||
|
<OutputType>Exe</OutputType>
|
||||||
|
<TargetFramework>net8.0</TargetFramework>
|
||||||
|
<ImplicitUsings>enable</ImplicitUsings>
|
||||||
|
<Nullable>enable</Nullable>
|
||||||
|
</PropertyGroup>
|
||||||
|
|
||||||
|
</Project>
|
||||||
2
Program.cs
Normal file
2
Program.cs
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
// See https://aka.ms/new-console-template for more information
|
||||||
|
Console.WriteLine("Hello, World!");
|
||||||
Reference in New Issue
Block a user