Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

.NET 8 #26

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .config/dotnet-tools.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
]
},
"paket": {
"version": "7.1.5",
"version": "8.0.3",
"commands": [
"paket"
]
Expand Down
27 changes: 27 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# top-most EditorConfig file
root = true

[*]
end_of_line = lf

[*.{fs,fsi,fsx}]
charset = utf-8
indent_style = space
indent_size = 4
trim_trailing_whitespace = true
max_line_length = 120
insert_final_newline = true

[*.{proto,props,targets,fsproj,csproj}]
indent_size = 2
indent_style = space
trim_trailing_whitespace = true
insert_final_newline = true

[*.{yml,json,md,sh,ps1}]
trim_trailing_whitespace = true
insert_final_newline = true

[{Dockerfile,.editorconfig,.gitignore}]
trim_trailing_whitespace = true
insert_final_newline = true
32 changes: 16 additions & 16 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,56 +6,56 @@ jobs:
build-windows:
name: CI (Windows)
runs-on: windows-latest
timeout-minutes: 25

steps:
- uses: actions/checkout@v2
- uses: actions/setup-dotnet@v1
- uses: actions/checkout@v3
- uses: actions/setup-dotnet@v3
with:
dotnet-version: '6.0.400'
dotnet-version: 8.0.x
- name: Restore
run: |
dotnet tool restore
dotnet paket restore
- name: Build
run: dotnet fake build
run: .\build.cmd -t Build
- name: Pack
run: |
dotnet fake build -t PackAll
.\build.cmd -t PackAll
- name: Upload artifacts
uses: actions/upload-artifact@v2
with:
name: interstellar-windows
path: artifacts
- name: Test
run: |
dotnet fake build -t Test -- Release
.\build.cmd -t Test -- Release

build-macos:
name: CI (macOS)
runs-on: macos-latest
timeout-minutes: 25

steps:
- uses: actions/checkout@v2
- uses: actions/setup-dotnet@v1
- uses: actions/checkout@v3
- uses: actions/setup-dotnet@v3
with:
dotnet-version: '6.0.400'
- name: Install workloads
run: |
dotnet tool restore
sudo dotnet workload install macos
dotnet-version: 8.0.x
- name: Restore
run: |
sudo dotnet workload install macos
dotnet tool restore
dotnet paket restore
dotnet restore Interstellar.MacOS.sln
- name: Build
run: dotnet fake build -- Release
run: ./build.sh -t Build
- name: Pack
run: dotnet fake build -t PackAll -- Release
run: ./build.sh -t PackAll
- name: Upload artifacts
uses: actions/upload-artifact@v2
with:
name: interstellar-macos
path: artifacts/
- name: Test
run: |
dotnet fake build -t Test -- Release
./build.sh -t Test
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -415,4 +415,4 @@ output/
temp/

# CEF
GPUCache/
GPUCache/
2 changes: 1 addition & 1 deletion AssemblyAndPackageInfo.props
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@
<ItemGroup>
<None Include="$(SolutionDir)\LICENSE" Pack="true" PackagePath=""/>
</ItemGroup>
</Project>
</Project>
6 changes: 3 additions & 3 deletions Examples/Examples.macOS.WebKit/Examples.macOS.WebKit.fsproj
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net6.0-macos</TargetFramework>
<TargetFramework>net8.0-macos</TargetFramework>
<OutputType>Exe</OutputType>
<RootNamespace>Example.macOS.WebKit</RootNamespace>
<AssemblyName>InterstellarExample</AssemblyName>
<SupportedOSPlatformVersion>10.14</SupportedOSPlatformVersion>
<SupportedOSPlatformVersion>10.15</SupportedOSPlatformVersion>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<EnableCodeSigning>false</EnableCodeSigning>
Expand All @@ -29,4 +29,4 @@
<ProjectReference Include="..\..\src\Interstellar.MacOS.WebKit\Interstellar.MacOS.WebKit.fsproj" />
</ItemGroup>
<Import Project="..\..\.paket\Paket.Restore.targets" />
</Project>
</Project>
2 changes: 1 addition & 1 deletion Examples/Examples.macOS.WebKit/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<key>CFBundleVersion</key>
<string>1</string>
<key>LSMinimumSystemVersion</key>
<string>10.14</string>
<string>10.15</string>
<key>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CFBundleInfoDictionaryVersion</key>
Expand Down
12 changes: 11 additions & 1 deletion Interstellar.MacOS.sln
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ Project("{F2A71F9B-5D33-465A-A702-920D77279786}") = "Examples.SharedCode", "Exam
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{BE6ABDEA-53B5-4D1C-9E46-6B783CD97234}"
ProjectSection(SolutionItems) = preProject
global.json = global.json
AssemblyAndPackageInfo.props = AssemblyAndPackageInfo.props
paket.dependencies = paket.dependencies
EndProjectSection
Expand All @@ -16,6 +15,10 @@ Project("{F2A71F9B-5D33-465A-A702-920D77279786}") = "Examples.macOS.WebKit", "Ex
EndProject
Project("{F2A71F9B-5D33-465A-A702-920D77279786}") = "Interstellar.MacOS.WebKit", "src\Interstellar.MacOS.WebKit\Interstellar.MacOS.WebKit.fsproj", "{77FAE56F-23ED-4B30-B961-BBC7B492AAFE}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "build", "build", "{2B1A37B9-3FA4-4FA3-A26F-32F2B5C2CF91}"
EndProject
Project("{F2A71F9B-5D33-465A-A702-920D77279786}") = "build", "build\build.fsproj", "{684CD76F-3338-42D4-8D53-0DA6F5F03C69}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Expand All @@ -42,5 +45,12 @@ Global
{77FAE56F-23ED-4B30-B961-BBC7B492AAFE}.Debug|Any CPU.Build.0 = Debug|Any CPU
{77FAE56F-23ED-4B30-B961-BBC7B492AAFE}.Release|Any CPU.ActiveCfg = Release|Any CPU
{77FAE56F-23ED-4B30-B961-BBC7B492AAFE}.Release|Any CPU.Build.0 = Release|Any CPU
{684CD76F-3338-42D4-8D53-0DA6F5F03C69}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{684CD76F-3338-42D4-8D53-0DA6F5F03C69}.Debug|Any CPU.Build.0 = Debug|Any CPU
{684CD76F-3338-42D4-8D53-0DA6F5F03C69}.Release|Any CPU.ActiveCfg = Release|Any CPU
{684CD76F-3338-42D4-8D53-0DA6F5F03C69}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(NestedProjects) = preSolution
{684CD76F-3338-42D4-8D53-0DA6F5F03C69} = {2B1A37B9-3FA4-4FA3-A26F-32F2B5C2CF91}
EndGlobalSection
EndGlobal
1 change: 1 addition & 0 deletions build.cmd
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
dotnet run --project ./build/build.fsproj -- %*
Loading
Loading