Skip to content

Commit

Permalink
Unit testing workflow #204, #162, #163, #184, #180, #165, #31
Browse files Browse the repository at this point in the history
Signed-off-by: Caleb <calebgh@gmail.com>
  • Loading branch information
cbuahin committed Mar 3, 2025
1 parent cb4b575 commit 50ee476
Showing 1 changed file with 8 additions and 13 deletions.
21 changes: 8 additions & 13 deletions .github/workflows/unit_testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,6 @@ jobs:
vcpkg_triplet: x64-windows

runs-on: ${{ matrix.os }}
defaults:
run:
shell: ${{ matrix.shell }}

steps:
- name: Checkout SWMM Repo
uses: actions/checkout@v4
Expand Down Expand Up @@ -110,18 +106,17 @@ jobs:
sudo apt-get update
sudo apt-get install -y mono-complete
- name: Install Mono (macOS)
if: ${{ matrix.os == 'macos-latest' || matrix.os == 'macos-13' }}
- name: Install NuGet (Linux)
if: ${{ matrix.os == 'ubuntu-latest' }}
run: |
brew install mono
sudo apt-get update
sudo apt-get install -y nuget
nuget update -self
- name: Install NuGet
if: ${{ matrix.os != 'windows-latest' }}
- name: Install NuGet (macOS)
if: ${{ matrix.os == 'macos-latest' || matrix.os == 'macos-13' }}
run: |
mono --version
wget https://dist.nuget.org/win-x86-commandline/latest/nuget.exe -O /usr/local/bin/nuget.exe
chmod +x /usr/local/bin/nuget.exe
alias nuget='mono /usr/local/bin/nuget.exe'
brew install nuget
nuget update -self
- name: Configure Binary Sources (Windows)
Expand Down

0 comments on commit 50ee476

Please sign in to comment.