Compare commits

..

18 Commits

Author SHA1 Message Date
Mateusz Kozieł
9f16b9cfa2 change ci yaml file for ex 5 v3
All checks were successful
First CI / build (win-x64) (push) Successful in 1m56s
First CI / build (linux-x64) (push) Successful in 2m3s
2025-11-20 17:25:46 +02:00
Mateusz Kozieł
288b719a44 change ci yaml file for ex 5 v2
All checks were successful
First CI / build (linux-x64) (push) Successful in 1m38s
First CI / build (win-x64) (push) Successful in 1m44s
2025-11-20 17:22:57 +02:00
Mateusz Kozieł
fe2b3bdc9e change ci yaml file for ex 5 v1
All checks were successful
First CI / build (win-x64) (push) Successful in 1m5s
First CI / build (linux-x64) (push) Successful in 1m12s
2025-11-20 17:21:33 +02:00
Mateusz Kozieł
d9f9011455 change ci yaml file for ex 4 fix 5
All checks were successful
First CI / build (push) Successful in 1m55s
First CI / test (push) Successful in 15s
2025-11-20 17:16:26 +02:00
Mateusz Kozieł
16633ab02d change ci yaml file for ex 4 fix 4
Some checks failed
First CI / build (push) Successful in 1m30s
First CI / test (push) Failing after 9s
2025-11-20 17:13:03 +02:00
Mateusz Kozieł
e0d6fada0e change ci yaml file for ex 4 fix 3
Some checks failed
First CI / build (push) Failing after 25s
First CI / test (push) Has been skipped
2025-11-20 17:11:39 +02:00
Mateusz Kozieł
3aa5fe5973 change ci yaml file for ex 4 fix 2
Some checks failed
First CI / build (push) Successful in 1m41s
First CI / test (push) Failing after 9s
2025-11-20 17:07:47 +02:00
Mateusz Kozieł
f3a59d7208 change ci yaml file for ex 4 fix 1
Some checks failed
First CI / build (push) Successful in 1m52s
First CI / test (push) Failing after 9s
2025-11-20 17:05:12 +02:00
Mateusz Kozieł
26215621b4 change ci yaml file for ex 4 fix
Some checks failed
First CI / build (push) Successful in 2m8s
First CI / test (push) Failing after 15s
2025-11-20 17:01:50 +02:00
Mateusz Kozieł
a26d2e00cb change ci yaml file for ex cyvbnj
Some checks failed
First CI / test (push) Failing after 20s
First CI / build (push) Successful in 2m0s
2025-11-20 16:54:26 +02:00
Mateusz Kozieł
6d92043733 change ci yaml file for ex gyu
All checks were successful
First CI / build (push) Successful in 2m7s
First CI / test (push) Successful in 9s
2025-11-20 16:51:17 +02:00
Mateusz Kozieł
ddfd7927c9 change ci yaml file for ex 4
Some checks failed
First CI / test (push) Failing after 6s
First CI / build (push) Successful in 1m51s
2025-11-20 16:38:02 +02:00
Mateusz Kozieł
f8cf733adb Change ci yaml file
All checks were successful
First CI / build (linux-x64) (push) Successful in 58s
First CI / build (win-x64) (push) Successful in 1m3s
2025-11-20 16:29:38 +02:00
Mateusz Kozieł
cb876e35a4 Change ci yaml file for .NET app with tar result
Some checks failed
First CI / test (push) Failing after 10s
First CI / build (push) Successful in 1m42s
2025-11-20 16:27:01 +02:00
Mateusz Kozieł
4542b45682 Merge remote-tracking branch 'origin/main'
Some checks failed
First CI / test (push) Failing after 3s
First CI / build (push) Successful in 58s
# Conflicts:
#	.gitea/workflows/ci.yml
2025-11-20 16:23:43 +02:00
Mateusz Kozieł
b87d8a0079 change ci yaml file for .NET app 2025-11-20 16:22:50 +02:00
Mateusz Kozieł
f8df209b60 change ci yaml file for .NET app
Some checks failed
First CI / build (push) Successful in 1m5s
First CI / test (push) Has been cancelled
2025-11-20 16:20:53 +02:00
Mateusz Kozieł
b168c31f20 Add .NET app files 2025-11-20 16:16:20 +02:00
14 changed files with 230 additions and 14 deletions

View File

@@ -1,15 +1,26 @@
name: First CI name: First CI
on: [push] on: [push]
jobs: jobs:
build: build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
strategy:
matrix:
rid: ["win-x64", "linux-x64"]
steps: steps:
- uses: actions/checkout@v4 - name: Checkout
- name: build using gcc uses: actions/checkout@v4
run: gcc -Wall -Werror main.c -o program - uses: actions/setup-dotnet@v3
- name: Archive production artifacts
uses: actions/upload-artifact@v3
with: with:
name: program dotnet-version: '8.0.x'
path: program - run: dotnet restore
- run: dotnet build --configuration Release
- run: dotnet publish -c Release -o app-${{ matrix.rid }} -r ${{ matrix.rid }} /p:PublishSingleFile=true --self-contained true
- if: runner.os == 'Linux'
run: chmod -R +x app-${{ matrix.rid }} || true
- uses: actions/upload-artifact@v3
with:
name: app-${{ matrix.rid }}
path: app-${{ matrix.rid }}

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

9
.idea/Lab7.iml generated Normal file
View File

@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<module type="JAVA_MODULE" version="4">
<component name="NewModuleRootManager" inherit-compiler-output="true">
<exclude-output />
<content url="file://$MODULE_DIR$" />
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
</component>
</module>

6
.idea/misc.xml generated Normal file
View File

@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectRootManager" version="2" languageLevel="JDK_21" default="true" project-jdk-name="21" project-jdk-type="JavaSDK">
<output url="file://$PROJECT_DIR$/out" />
</component>
</project>

8
.idea/modules.xml generated Normal file
View File

@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectModuleManager">
<modules>
<module fileurl="file://$PROJECT_DIR$/.idea/Lab7.iml" filepath="$PROJECT_DIR$/.idea/Lab7.iml" />
</modules>
</component>
</project>

7
.idea/vcs.xml generated Normal file
View File

@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="" vcs="Git" />
<mapping directory="$PROJECT_DIR$" vcs="Git" />
</component>
</project>

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!");

7
main.c
View File

@@ -1,7 +0,0 @@
#include <stdio.h>
int main()
{
printf("Halo, Welt!");
return 0;
}

View File

@@ -0,0 +1,66 @@
{
"format": 1,
"restore": {
"C:\\Users\\mateo\\Desktop\\Studia\\semestr 7\\Procesy Wytwarzania Oprogramowania\\Lab7\\Lab7.csproj": {}
},
"projects": {
"C:\\Users\\mateo\\Desktop\\Studia\\semestr 7\\Procesy Wytwarzania Oprogramowania\\Lab7\\Lab7.csproj": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "C:\\Users\\mateo\\Desktop\\Studia\\semestr 7\\Procesy Wytwarzania Oprogramowania\\Lab7\\Lab7.csproj",
"projectName": "Lab7",
"projectPath": "C:\\Users\\mateo\\Desktop\\Studia\\semestr 7\\Procesy Wytwarzania Oprogramowania\\Lab7\\Lab7.csproj",
"packagesPath": "C:\\Users\\mateo\\.nuget\\packages\\",
"outputPath": "C:\\Users\\mateo\\Desktop\\Studia\\semestr 7\\Procesy Wytwarzania Oprogramowania\\Lab7\\obj\\",
"projectStyle": "PackageReference",
"configFilePaths": [
"C:\\Users\\mateo\\AppData\\Roaming\\NuGet\\NuGet.Config"
],
"originalTargetFrameworks": [
"net8.0"
],
"sources": {
"https://api.nuget.org/v3/index.json": {}
},
"frameworks": {
"net8.0": {
"targetAlias": "net8.0",
"projectReferences": {}
}
},
"warningProperties": {
"warnAsError": [
"NU1605"
]
},
"restoreAuditProperties": {
"enableAudit": "true",
"auditLevel": "low",
"auditMode": "direct"
}
},
"frameworks": {
"net8.0": {
"targetAlias": "net8.0",
"imports": [
"net461",
"net462",
"net47",
"net471",
"net472",
"net48",
"net481"
],
"assetTargetFallback": true,
"warn": true,
"frameworkReferences": {
"Microsoft.NETCore.App": {
"privateAssets": "all"
}
},
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\8.0.415/PortableRuntimeIdentifierGraph.json"
}
}
}
}
}

View File

@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
<RestoreSuccess Condition=" '$(RestoreSuccess)' == '' ">True</RestoreSuccess>
<RestoreTool Condition=" '$(RestoreTool)' == '' ">NuGet</RestoreTool>
<ProjectAssetsFile Condition=" '$(ProjectAssetsFile)' == '' ">$(MSBuildThisFileDirectory)project.assets.json</ProjectAssetsFile>
<NuGetPackageRoot Condition=" '$(NuGetPackageRoot)' == '' ">$(UserProfile)\.nuget\packages\</NuGetPackageRoot>
<NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">C:\Users\mateo\.nuget\packages\</NuGetPackageFolders>
<NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle>
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">6.11.1</NuGetToolVersion>
</PropertyGroup>
<ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
<SourceRoot Include="C:\Users\mateo\.nuget\packages\" />
</ItemGroup>
</Project>

View File

@@ -0,0 +1,2 @@
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" />

71
obj/project.assets.json Normal file
View File

@@ -0,0 +1,71 @@
{
"version": 3,
"targets": {
"net8.0": {}
},
"libraries": {},
"projectFileDependencyGroups": {
"net8.0": []
},
"packageFolders": {
"C:\\Users\\mateo\\.nuget\\packages\\": {}
},
"project": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "C:\\Users\\mateo\\Desktop\\Studia\\semestr 7\\Procesy Wytwarzania Oprogramowania\\Lab7\\Lab7.csproj",
"projectName": "Lab7",
"projectPath": "C:\\Users\\mateo\\Desktop\\Studia\\semestr 7\\Procesy Wytwarzania Oprogramowania\\Lab7\\Lab7.csproj",
"packagesPath": "C:\\Users\\mateo\\.nuget\\packages\\",
"outputPath": "C:\\Users\\mateo\\Desktop\\Studia\\semestr 7\\Procesy Wytwarzania Oprogramowania\\Lab7\\obj\\",
"projectStyle": "PackageReference",
"configFilePaths": [
"C:\\Users\\mateo\\AppData\\Roaming\\NuGet\\NuGet.Config"
],
"originalTargetFrameworks": [
"net8.0"
],
"sources": {
"https://api.nuget.org/v3/index.json": {}
},
"frameworks": {
"net8.0": {
"targetAlias": "net8.0",
"projectReferences": {}
}
},
"warningProperties": {
"warnAsError": [
"NU1605"
]
},
"restoreAuditProperties": {
"enableAudit": "true",
"auditLevel": "low",
"auditMode": "direct"
}
},
"frameworks": {
"net8.0": {
"targetAlias": "net8.0",
"imports": [
"net461",
"net462",
"net47",
"net471",
"net472",
"net48",
"net481"
],
"assetTargetFallback": true,
"warn": true,
"frameworkReferences": {
"Microsoft.NETCore.App": {
"privateAssets": "all"
}
},
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\8.0.415/PortableRuntimeIdentifierGraph.json"
}
}
}
}

8
obj/project.nuget.cache Normal file
View File

@@ -0,0 +1,8 @@
{
"version": 2,
"dgSpecHash": "4/r26+4Av/o=",
"success": true,
"projectFilePath": "C:\\Users\\mateo\\Desktop\\Studia\\semestr 7\\Procesy Wytwarzania Oprogramowania\\Lab7\\Lab7.csproj",
"expectedPackageFiles": [],
"logs": []
}