Compare commits
7 Commits
b9c00472c6
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
384de16708 | ||
|
|
6fbe5c5612 | ||
|
|
c640b07d98 | ||
|
|
ce561cca8f | ||
|
|
4da3205320 | ||
|
|
30c95e783a | ||
|
|
4ad999e0fc |
@@ -5,14 +5,19 @@ 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
|
||||
|
||||
|
||||
|
||||
|
||||
- uses: actions/setup-dotnet@v3
|
||||
with:
|
||||
dotnet-version: '8.0.x'
|
||||
|
||||
- run: dotnet restore
|
||||
|
||||
- run: dotnet publish -o app -r ${{ matrix.rid }} --self-contained true /p:PublishSingleFile=true
|
||||
|
||||
|
||||
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!");
|
||||
10
citest.csproj
Normal file
10
citest.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>
|
||||
Reference in New Issue
Block a user