Compare commits

...

10 Commits

Author SHA1 Message Date
Michal
ff9676e911 Update readme
All checks were successful
First CI / build (linux-x64) (push) Successful in 1m20s
First CI / build (win-x64) (push) Successful in 1m20s
2024-11-25 11:11:54 +01:00
Michal
7b5006184f Add readme
Some checks failed
First CI / build (win-x64) (push) Failing after 20s
First CI / build (linux-x64) (push) Failing after 21s
2024-11-25 11:10:59 +01:00
Michal
9b9105e4f4 Fix broken config
All checks were successful
First CI / build (win-x64) (push) Successful in 1m15s
First CI / build (linux-x64) (push) Successful in 1m31s
2024-11-25 11:08:07 +01:00
Michal
73193fade9 Break the code
Some checks failed
First CI / build (linux-x64) (push) Failing after 54s
First CI / build (win-x64) (push) Failing after 1m0s
2024-11-25 11:05:04 +01:00
Michal
5f571f2d4e Change CI config
All checks were successful
First CI / build (linux-x64) (push) Successful in 1m9s
First CI / build (win-x64) (push) Successful in 1m11s
2024-11-25 11:00:55 +01:00
Michal
d8aaab2d5b Fix and fix and fix
All checks were successful
First CI / build (push) Successful in 1m45s
First CI / test (push) Successful in 21s
2024-11-25 10:56:57 +01:00
Michal
9ff6903e86 Fix again...
Some checks failed
First CI / build (push) Successful in 1m28s
First CI / test (push) Failing after 8s
2024-11-25 10:54:35 +01:00
Michal
a42fb097fb Fix CI config file 2024-11-25 10:52:21 +01:00
Michal
cc89eae951 Modify CI config (.net usage)
Some checks failed
First CI / test (push) Failing after 3s
First CI / build (push) Successful in 43s
2024-11-25 10:49:25 +01:00
Michal
8cdfa32c53 Make world a better place 2024-11-25 10:47:20 +01:00
5 changed files with 27 additions and 13 deletions

View File

@@ -4,12 +4,18 @@ on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
rid: ["win-x64", "linux-x64"]
steps:
- uses: actions/checkout@v4
- name: build using gcc
run: gcc -Wall -Werror main.c -o program
- name: Archive production artifacts
uses: actions/upload-artifact@v3
- uses: actions/setup-dotnet@v3
with:
name: program
path: program
dotnet-version: '8.0.x'
- run: dotnet restore
- run: dotnet publish -o app -r ${{ matrix.rid }} --sc /p:PublishSingleFile=true
- run: tar cf app-${{ matrix.rid }}.tar app/
- uses: actions/upload-artifact@v3
with:
name: app-${{ matrix.rid }}.tar
path: app-${{ matrix.rid }}.tar

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

3
Readme.md Normal file
View File

@@ -0,0 +1,3 @@
# give me a job please
15k junior .net dev
devops 20k

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>

7
main.c
View File

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