diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml index 69e5aa4a..f525b1e7 100644 --- a/.github/workflows/cmake.yml +++ b/.github/workflows/cmake.yml @@ -24,7 +24,7 @@ jobs: name: build-frmware steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Install libs # Some projects don't allow in-source building, so create a separate build directory @@ -35,7 +35,7 @@ jobs: shell: bash run: make -C ./SDDC_FX3 - - uses: actions/upload-artifact@v2 + - uses: actions/upload-artifact@v4 with: name: firmware path: ./SDDC_FX3/SDDC_FX3.img @@ -49,7 +49,7 @@ jobs: needs: build-firmware steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Create Build Environment # Some projects don't allow in-source building, so create a separate build directory @@ -66,7 +66,7 @@ jobs: # The CMake binaries on the Github Actions machines are (as of this writing) 3.12 run: cmake $GITHUB_WORKSPACE -DCMAKE_BUILD_TYPE=$BUILD_TYPE -G "Visual Studio 16 2019" -A Win32 - - uses: actions/download-artifact@v2 + - uses: actions/download-artifact@v4 with: name: firmware @@ -76,6 +76,20 @@ jobs: # Execute the build. You can specify a specific target with "--target " run: cmake --build . --config $BUILD_TYPE + - name: Create Build64 Environment + run: cmake -E make_directory ${{runner.workspace}}/build64 + + - name: Configure CMake64 + shell: bash + working-directory: ${{runner.workspace}}/build64 + run: cmake $GITHUB_WORKSPACE -DCMAKE_BUILD_TYPE=$BUILD_TYPE -G "Visual Studio 16 2019" + + - name: Build + working-directory: ${{runner.workspace}}/build64 + shell: bash + # Execute the build. You can specify a specific target with "--target " + run: cmake --build . --config $BUILD_TYPE + - name: Install FFTW3 working-directory: ${{runner.workspace}}/build shell: powershell @@ -92,7 +106,7 @@ jobs: shell: powershell run: Compress-Archive -DestinationPath SDDC_EXTIO.ZIP -LiteralPath ${{runner.workspace}}/build/ExtIO_sddc/Release/ExtIO_SDDC.dll,${{runner.workspace}}/build/unittest/libfftw3f-3.dll,README.md - - uses: actions/upload-artifact@v2 + - uses: actions/upload-artifact@v4 with: name: extio-package path: SDDC_EXTIO.ZIP @@ -105,7 +119,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Install libs # Some projects don't allow in-source building, so create a separate build directory @@ -140,3 +154,11 @@ jobs: # See https://cmake.org/cmake/help/latest/manual/ctest.1.html for more detail run: ctest -C $BUILD_TYPE + - name: Create Package + shell: bash + run: zip SDDC_SOAPY.ZIP ${{runner.workspace}}/build/SoapySDDC/libSDDCSupport.so + + - uses: actions/upload-artifact@v4 + with: + name: soapy-package + path: SDDC_SOAPY.ZIP \ No newline at end of file