Compare commits

13 Commits

Author SHA1 Message Date
holek363
ac23a29452 FIX: ci.yml
All checks were successful
First CI / build (win-x64) (push) Successful in 1m46s
First CI / build (linux-x64) (push) Successful in 1m47s
2025-11-20 13:59:46 +01:00
holek363
35e4b7fe2b UPD: ci.yml
Some checks failed
First CI / build (win-x64) (push) Failing after 48s
First CI / build (linux-x64) (push) Failing after 51s
2025-11-20 13:58:18 +01:00
holek363
894aa227a2 HOTFIX: ci.yml
All checks were successful
First CI / build (linux-x64) (push) Successful in 1m32s
First CI / build (win-x64) (push) Successful in 1m50s
2025-11-20 13:55:01 +01:00
holek363
43c8340e0b UPD: ci.yml 2025-11-20 13:53:16 +01:00
holek363
e2318f2691 FIX: ci.yml
All checks were successful
First CI / build (push) Successful in 1m49s
First CI / test (push) Successful in 8s
2025-11-20 13:47:55 +01:00
holek363
89164b6ab1 FIX: ci.yml
Some checks failed
First CI / test (push) Failing after 6s
First CI / build (push) Failing after 57s
2025-11-20 13:45:14 +01:00
holek363
e7baa9938c FIX: ci.yml, DemoApplication.cs
Some checks failed
First CI / test (push) Failing after 4s
First CI / build (push) Failing after 1m9s
2025-11-20 13:41:12 +01:00
holek363
5951c7eb69 NEW: app
Some checks failed
First CI / test (push) Failing after 4s
First CI / build (push) Failing after 46s
2025-11-20 13:24:19 +01:00
holek363
27cff653e7 UPD: ci.yml
All checks were successful
First CI / build (push) Successful in 16s
2025-11-20 13:16:09 +01:00
holek363
23fb763eb3 FIX: main.c
All checks were successful
First CI / build (push) Successful in 8s
2025-11-20 13:13:40 +01:00
holek363
892cfd81c5 ADD: main.c , UPD: ci.yml
Some checks failed
First CI / build (push) Failing after 21s
2025-11-20 13:12:26 +01:00
holek363
8454f89ce1 FIX3: ci.yml
All checks were successful
First CI / build (push) Successful in 5s
2025-11-20 13:08:18 +01:00
holek363
f3fcd92db9 FIX2: ci.yml 2025-11-20 13:04:44 +01:00
5 changed files with 58 additions and 8 deletions

View File

@@ -1,8 +1,29 @@
name: First CI
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
rid: ["win-x64", "linux-x64"]
steps:
- name: Printing hello
run: echo "Hello, 🌍"
- 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
View 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

View File

@@ -1,4 +1,13 @@
void main(){
System.out.println(new Date());
System.out.println("Hello world");
using System;
namespace Lab2
{
public class DemoApplication
{
public static void Main(string[] args)
{
Console.WriteLine(DateTime.Now);
Console.WriteLine("Hello world");
}
}
}

10
Lab7.csproj Normal file
View 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
View File

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