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 873f2cf commit f67d9f8
Showing 1 changed file with 13 additions and 9 deletions.
22 changes: 13 additions & 9 deletions .github/workflows/unit_testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,19 +61,22 @@ jobs:
steps:
- name: Checkout SWMM Repo
uses: actions/checkout@v4
with:
repository: SWMM

- name: Install OpenMP on MacOS
if: ${{ matrix.os == 'macos-latest' || matrix.os == 'macos-13' }}
run: |
brew reinstall --build-from-source libomp
brew link --force --overwrite libomp
- name: Checkout VCPKG
uses: actions/checkout@v4
with:
repository: microsoft/vcpkg
ref: 2025.02.14
path: vcpkg

- name: Install OpenMP on MacOS
if: ${{ matrix.os == 'macos-latest' || matrix.os == 'macos-13' }}
run: |
brew reinstall --build-from-source libomp
brew link --force --overwrite libomp
- name: Bootstrap VCPKG (Windows)
if: ${{ matrix.os == 'windows-latest' }}
Expand Down Expand Up @@ -121,10 +124,11 @@ jobs:
- name: Configure Binary Sources (Windows)
if: ${{ matrix.os == 'windows-latest' }}
working-directory: ${{ env.VCPKG_ROOT }}
run: |
.$(vcpkg fetch nuget) sources add -Name github -Source ${{ env.NUGET_FEED_URL }} -UserName ${{ env.NUGET_USER_NAME }} -Password ${{ env.NUGET_API_KEY }}
.$(vcpkg fetch nuget) setapikey ${{ env.NUGET_API_KEY }} -Source github
.$(vcpkg fetch nuget) sources
(vcpkg fetch nuget) sources add -Name github -Source ${{ env.NUGET_FEED_URL }} -UserName ${{ env.NUGET_USER_NAME }} -Password ${{ env.NUGET_API_KEY }}
(vcpkg fetch nuget) setapikey ${{ env.NUGET_API_KEY }} -Source github
(vcpkg fetch nuget) sources
- name: Configure Binary Sources (Unix like)
if: ${{ matrix.os != 'windows-latest' }}
Expand Down

0 comments on commit f67d9f8

Please sign in to comment.