Skip to content

Commit

Permalink
Add c# ci builds (#212)
Browse files Browse the repository at this point in the history
  • Loading branch information
externl authored May 31, 2024
1 parent f6d5dc2 commit b18b525
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,16 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-22.04, macos-14, windows-2022]
include:
- os: ubuntu-22.04
ice_build_flags: srcs
csharp_build_command: dotnet build
- os: macos-14
ice_build_flags: srcs
csharp_build_command: dotnet build
- os: windows-2022
ice_build_flags: /t:BuildDist
csharp_build_command: MSBuild

runs-on: ${{ matrix.os }}
steps:
Expand All @@ -44,6 +53,7 @@ jobs:
timeout-minutes: 90
with:
working_directory: ice
build_flags: ${{ matrix.ice_build_flags || '' }}

- name: Checkout repository
uses: actions/checkout@v4
Expand All @@ -56,3 +66,8 @@ jobs:
with:
working_directory: ice-demos/cpp
msbuild_project: msbuild/ice.proj

- name: Build C# Demos on ${{ matrix.os }}
timeout-minutes: 30
working-directory: ice-demos/csharp
run: ${{ matrix.csharp_build_command }} /m msbuild/ice.proj

0 comments on commit b18b525

Please sign in to comment.