Skip to content
This repository has been archived by the owner on May 11, 2024. It is now read-only.

Commit

Permalink
upd - Updated build workflows to use build matrix
Browse files Browse the repository at this point in the history
---

Type: upd
Breaking: False
Doc Required: False
Part: 1/1
  • Loading branch information
AptiviCEO committed Mar 10, 2024
1 parent 9b4ed27 commit bafd1ec
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 138 deletions.
33 changes: 0 additions & 33 deletions .github/workflows/build-linux.yml

This file was deleted.

28 changes: 0 additions & 28 deletions .github/workflows/build-macos-rel.yml

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build Project (Linux, Release)
name: Build Project (Release)

on:
push:
Expand All @@ -10,15 +10,17 @@ on:

jobs:
build:

runs-on: ubuntu-latest
strategy:
matrix:
runs-on: [ubuntu-latest, windows-latest, macos-latest]
runs-on: ${{ matrix.runs-on }}

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
ref: ${{ github.ref }}
- name: Setup .NET
uses: actions/setup-dotnet@v3
uses: actions/setup-dotnet@v4
with:
dotnet-version: '8.0.x'
- name: Solution Compilation
Expand Down
28 changes: 0 additions & 28 deletions .github/workflows/build-win-rel.yml

This file was deleted.

33 changes: 0 additions & 33 deletions .github/workflows/build-win.yml

This file was deleted.

19 changes: 8 additions & 11 deletions .github/workflows/build-macos.yml → .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build Project (macOS)
name: Build Project (Debug)

on:
push:
Expand All @@ -10,24 +10,21 @@ on:

jobs:
build:

runs-on: macos-latest
strategy:
matrix:
runs-on: [ubuntu-latest, windows-latest, macos-latest]
runs-on: ${{ matrix.runs-on }}

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
ref: ${{ github.ref }}
- name: Setup .NET
uses: actions/setup-dotnet@v3
uses: actions/setup-dotnet@v4
with:
dotnet-version: '8.0.x'
- name: Solution Compilation
run: dotnet build --configuration Debug
- name: Testing
run: dotnet test --configuration Debug
- uses: actions/upload-artifact@v3
if: success() || failure()
with:
name: fgl-build
path: "Figletize/bin/Debug/"
run: dotnet test --no-build --configuration Debug

0 comments on commit bafd1ec

Please sign in to comment.