diff --git a/.github/workflows/build-linux.yml b/.github/workflows/build-linux.yml index de77d04..56463fb 100644 --- a/.github/workflows/build-linux.yml +++ b/.github/workflows/build-linux.yml @@ -12,8 +12,10 @@ env: # Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.) BUILD_TYPE: RelWithDebInfo DRUMSTICKNAME: DrumstickV2 + SONIVOXNAME: SonivoxV3 DRUMSTICK_LOCATION: ${{github.workspace}}/DrumstickV2 - + SONIVOX_LOCATION: ${{github.workspace}}/SonivoxV3 + jobs: build: # The CMake configure and build commands are platform agnostic and should work equally well on Windows or Mac. @@ -26,6 +28,16 @@ jobs: with: submodules: true + - uses: dawidd6/action-download-artifact@v3 + with: + name: ${{env.SONIVOXNAME}} + github_token: ${{secrets.GH_PAT}} + repo: pedrolcl/sonivox + workflow: cmake.yml + + - name: Extract downloaded files + run: tar xvf ${{env.SONIVOXNAME}}.tar + - uses: dawidd6/action-download-artifact@v3 with: name: ${{env.DRUMSTICKNAME}} @@ -47,7 +59,9 @@ jobs: - name: Configure CMake # Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make. # See https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html?highlight=cmake_build_type - run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DCMAKE_PREFIX_PATH=${{env.DRUMSTICK_LOCATION}} + run: cmake -B ${{github.workspace}}/build + -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} + -DCMAKE_PREFIX_PATH="${{env.DRUMSTICK_LOCATION}};${{env.SONIVOX_LOCATION}}" - name: Build # Build your program with the given configuration