Skip to content

Commit

Permalink
imp - Build workflows ACTUALLY use scripts
Browse files Browse the repository at this point in the history
---

To increase build consistency, we've made all the build workflows (except those that are exclusive to Launchpad) actually use Makefile (Linux or macOS) or the build script (Windows)

---

Type: imp
Breaking: False
Doc Required: False
Backport Required: False
Part: 1/1
  • Loading branch information
AptiviCEO committed Oct 12, 2024
1 parent 00c4ccd commit c94c8b0
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/build-rel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,12 @@ jobs:
uses: actions/setup-dotnet@v4
with:
dotnet-version: '8.0.x'
- name: Solution Compilation
run: dotnet build -maxCpuCount:1 --configuration Release
- name: Solution Compilation (Windows)
if: matrix.runs-on == 'windows-latest'
run: cd tools ; ./build.cmd ; cd ..
- name: Solution Compilation (Unix)
if: matrix.runs-on != 'windows-latest'
run: make
- name: Testing
run: dotnet test --no-build --configuration Release
- uses: actions/upload-artifact@v4
Expand Down
8 changes: 6 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,12 @@ jobs:
uses: actions/setup-dotnet@v4
with:
dotnet-version: '8.0.x'
- name: Solution Compilation
run: dotnet build -maxCpuCount:1 --configuration Debug
- name: Solution Compilation (Windows)
if: matrix.runs-on == 'windows-latest'
run: cd tools ; ./build.cmd Debug ; cd ..
- name: Solution Compilation (Unix)
if: matrix.runs-on != 'windows-latest'
run: make dbg
- name: Testing
run: dotnet test --no-build --configuration Debug
- uses: actions/upload-artifact@v4
Expand Down

0 comments on commit c94c8b0

Please sign in to comment.