Skip to content

Commit

Permalink
upgrade development build workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
alec1o committed Jun 30, 2024
1 parent e94908c commit a5c9b6d
Showing 1 changed file with 15 additions and 9 deletions.
24 changes: 15 additions & 9 deletions .github/workflows/dotnet-development-build.yml
Original file line number Diff line number Diff line change
@@ -1,26 +1,33 @@
# This workflow will build a .NET project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-net

name: Development
name: DevBuild

concurrency:
group: "${{ github.workflow }}/${{ github.ref }}"
cancel-in-progress: false

on:
push:
branches: [ "dev" ]
branches:
- "**"
pull_request:
branches: [ "dev" ]
branches:
- "**"

jobs:
build:
test:
# config strategy
strategy:
fail-fast: false
max-parallel: 3
fail-fast: false
matrix:
version: [ 6.0 ]
version: [ 8.0 ]
# temp: disable macos test
# os: [ ubuntu-latest, windows-latest ]
# temp: disable macos and linux test
# os: [ windows-latest ]
# note: test all os
os: [ ubuntu-latest, windows-latest, macos-latest ]
# config os
runs-on: ${{ matrix.os }}
Expand All @@ -34,9 +41,8 @@ jobs:
with:
dotnet-version: ${{ matrix.version }}
# restore dependencies
- name: Netly Restore dependencies
- name: Restore Netly Project
run: dotnet restore ./src/Netly.csproj
# build netly library
# run netly test
- name: Build Netly Library
run: dotnet build ./src/Netly.csproj -c Debug --no-restore

0 comments on commit a5c9b6d

Please sign in to comment.