Skip to content

Commit 0348728

Browse files
author
Git Broadcast
committed
Merge remote-tracking branch 'origin/master' into Feature/111-Dropping-support-for-older-runtimes
2 parents e2a55bd + 40be2af commit 0348728

File tree

1 file changed

+51
-0
lines changed

1 file changed

+51
-0
lines changed

.github/workflows/build.yaml

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
#
2+
# Licensed to the Apache Software Foundation (ASF) under one or more
3+
# contributor license agreements. See the NOTICE file distributed with
4+
# this work for additional information regarding copyright ownership.
5+
# The ASF licenses this file to you under the Apache License, Version 2.0
6+
# (the "License"); you may not use this file except in compliance with
7+
# the License. You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# Unless required by applicable law or agreed to in writing, software
12+
# distributed under the License is distributed on an "AS IS" BASIS,
13+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
# See the License for the specific language governing permissions and
15+
# limitations under the License.
16+
#
17+
18+
name: build
19+
20+
on:
21+
workflow_dispatch:
22+
23+
jobs:
24+
25+
build:
26+
27+
runs-on: ${{ matrix.os }}
28+
29+
strategy:
30+
fail-fast: false
31+
matrix:
32+
os: [ macos-latest, ubuntu-latest, windows-latest ]
33+
34+
steps:
35+
36+
- name: Checkout repository
37+
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # 4.1.7
38+
39+
- name: Set up dotnet
40+
uses: actions/setup-dotnet@6bd8b7f7774af54e05809fcc5431931b3eb1ddee # 4.0.1
41+
with:
42+
dotnet-version: 8
43+
dotnet-quality: ga
44+
45+
- name: Build
46+
run: |
47+
dotnet restore src/log4net.sln
48+
dotnet build src/log4net.sln
49+
50+
- name: Test
51+
run: dotnet test src/log4net.sln

0 commit comments

Comments
 (0)