Skip to content

Commit f67d9f8

Browse files
committed
Unit testing workflow #204, #162, #163, #184, #180, #165, #31
Signed-off-by: Caleb <[email protected]>
1 parent 873f2cf commit f67d9f8

File tree

1 file changed

+13
-9
lines changed

1 file changed

+13
-9
lines changed

.github/workflows/unit_testing.yml

+13-9
Original file line numberDiff line numberDiff line change
@@ -61,19 +61,22 @@ jobs:
6161
steps:
6262
- name: Checkout SWMM Repo
6363
uses: actions/checkout@v4
64+
with:
65+
repository: SWMM
6466

65-
- name: Install OpenMP on MacOS
66-
if: ${{ matrix.os == 'macos-latest' || matrix.os == 'macos-13' }}
67-
run: |
68-
brew reinstall --build-from-source libomp
69-
brew link --force --overwrite libomp
70-
7167
- name: Checkout VCPKG
7268
uses: actions/checkout@v4
7369
with:
7470
repository: microsoft/vcpkg
7571
ref: 2025.02.14
7672
path: vcpkg
73+
74+
- name: Install OpenMP on MacOS
75+
if: ${{ matrix.os == 'macos-latest' || matrix.os == 'macos-13' }}
76+
run: |
77+
brew reinstall --build-from-source libomp
78+
brew link --force --overwrite libomp
79+
7780
7881
- name: Bootstrap VCPKG (Windows)
7982
if: ${{ matrix.os == 'windows-latest' }}
@@ -121,10 +124,11 @@ jobs:
121124
122125
- name: Configure Binary Sources (Windows)
123126
if: ${{ matrix.os == 'windows-latest' }}
127+
working-directory: ${{ env.VCPKG_ROOT }}
124128
run: |
125-
.$(vcpkg fetch nuget) sources add -Name github -Source ${{ env.NUGET_FEED_URL }} -UserName ${{ env.NUGET_USER_NAME }} -Password ${{ env.NUGET_API_KEY }}
126-
.$(vcpkg fetch nuget) setapikey ${{ env.NUGET_API_KEY }} -Source github
127-
.$(vcpkg fetch nuget) sources
129+
(vcpkg fetch nuget) sources add -Name github -Source ${{ env.NUGET_FEED_URL }} -UserName ${{ env.NUGET_USER_NAME }} -Password ${{ env.NUGET_API_KEY }}
130+
(vcpkg fetch nuget) setapikey ${{ env.NUGET_API_KEY }} -Source github
131+
(vcpkg fetch nuget) sources
128132
129133
- name: Configure Binary Sources (Unix like)
130134
if: ${{ matrix.os != 'windows-latest' }}

0 commit comments

Comments
 (0)