From b8dee789b5ae7484dd2511a3bd28bd7722afbeb6 Mon Sep 17 00:00:00 2001 From: Mike Oliphant Date: Fri, 7 Feb 2025 18:35:32 -0800 Subject: [PATCH] Update build.yml --- .github/workflows/build.yml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 7e41966..b01e562 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -20,10 +20,14 @@ jobs: env: CXX: clang++ run: | - cmake .. -DCMAKE_BUILD_TYPE=$BUILD_TYPE + cmake .. -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DBUILD_UTILS=ON -DBUILD_STATIC_RTNEURAL=ON cmake --build . --config $BUILD_TYPE -j4 cpack + - name: Run ModelTest + working-directory: ${{github.workspace}}/build/src/NeuralAudio/Utils/ModelTest + run: ./ModelTest + - name: Upload binary uses: actions/upload-artifact@v4 with: @@ -47,8 +51,12 @@ jobs: - name: Build Plugin working-directory: ${{github.workspace}}/build run: | - cmake.exe -G "Visual Studio 17 2022" -A x64 -T ClangCL .. + cmake.exe -G "Visual Studio 17 2022" -A x64 -DBUILD_UTILS=ON -DBUILD_STATIC_RTNEURAL=ON -T ClangCL .. cmake --build . --config=release -j4 + + - name: Run ModelTest + working-directory: ${{github.workspace}}/build/src/NeuralAudio/Utils/ModelTest/Release + run: ./ModelTest.exe - name: Upload artifact uses: actions/upload-artifact@v4