|
16 | 16 | #runs-on: ubuntu-latest
|
17 | 17 | runs-on: windows-latest
|
18 | 18 | steps:
|
19 |
| - - uses: actions/cache@v3 |
| 19 | + - uses: actions/cache@v4 |
20 | 20 | id: downloads
|
21 | 21 | with:
|
22 | 22 | path: ${{ runner.workspace }}/${{ env.pothos-exe }}
|
|
34 | 34 | upload_url: ${{ steps.create_release.outputs.upload_url }}
|
35 | 35 | release_version: ${{ env.RELEASE_VERSION }}
|
36 | 36 | steps:
|
37 |
| - - uses: actions/checkout@v3 |
| 37 | + - uses: actions/checkout@v4 |
38 | 38 | with:
|
39 | 39 | fetch-depth: 0
|
40 | 40 | - name: Create Release info
|
@@ -74,16 +74,15 @@ jobs:
|
74 | 74 | runs-on: ubuntu-latest
|
75 | 75 | name: Build with Mingw-w64 on ${{ matrix.arch }}
|
76 | 76 | steps:
|
77 |
| - - uses: actions/checkout@v3 |
| 77 | + - uses: actions/checkout@v4 |
78 | 78 | - name: "Install Mingw-w64"
|
79 | 79 | run: |
|
80 | 80 | sudo apt-get update -q -y
|
81 | 81 | sudo apt-get install -q -y gcc-mingw-w64-base binutils-mingw-w64-${{ matrix.arch }} gcc-mingw-w64-${{ matrix.arch }} mingw-w64-${{ matrix.arch }}-dev gcc-mingw-w64 gcc-multilib p7zip-full
|
82 | 82 | - name: "Build with Mingw-w64"
|
83 |
| - env: |
84 |
| - RTLSDR: OFF |
85 |
| - CMAKE_TOOLCHAIN_FILE: cmake/Toolchain-gcc-mingw-w64-${{ matrix.arch }}.cmake |
86 |
| - run: ./.ci/scripts/do_build.sh |
| 83 | + run: | |
| 84 | + cmake -DCMAKE_TOOLCHAIN_FILE=cmake/Toolchain-gcc-mingw-w64-${{ matrix.arch }}.cmake -DENABLE_RTLSDR=OFF -B build |
| 85 | + cmake --build build |
87 | 86 | - name: "Sysroot Build with Mingw-w64"
|
88 | 87 | run: ./.ci/scripts/do_sysroot.sh
|
89 | 88 | - name: "Upload Release Asset"
|
@@ -121,8 +120,8 @@ jobs:
|
121 | 120 | steps:
|
122 | 121 | - run: choco install openssl
|
123 | 122 | if: matrix.platform == 'x64'
|
124 |
| - - uses: actions/checkout@v3 |
125 |
| - - uses: actions/cache@v3 |
| 123 | + - uses: actions/checkout@v4 |
| 124 | + - uses: actions/cache@v4 |
126 | 125 | id: downloads
|
127 | 126 | if: matrix.platform == 'x64'
|
128 | 127 | with:
|
@@ -226,7 +225,7 @@ jobs:
|
226 | 225 | runs-on: ${{ matrix.os }}
|
227 | 226 | name: Build with CMake on ${{ matrix.os }}
|
228 | 227 | steps:
|
229 |
| - - uses: actions/checkout@v3 |
| 228 | + - uses: actions/checkout@v4 |
230 | 229 | - name: Install SDR
|
231 | 230 | run: |
|
232 | 231 | sudo apt-get update -q
|
@@ -273,7 +272,7 @@ jobs:
|
273 | 272 | distro: buster
|
274 | 273 | name: Build on ${{ matrix.distro }} ${{ matrix.arch }}
|
275 | 274 | steps:
|
276 |
| - - uses: actions/checkout@v3 |
| 275 | + - uses: actions/checkout@v4 |
277 | 276 |
|
278 | 277 | id: runcmd
|
279 | 278 | with:
|
@@ -309,11 +308,9 @@ jobs:
|
309 | 308 | uname -a
|
310 | 309 | lsb_release -sc || echo NO lsb_release
|
311 | 310 | echo Release ${{ needs.release_job.outputs.release_version }}
|
312 |
| - mkdir build |
313 |
| - cd build |
314 |
| - cmake -DCMAKE_INSTALL_PREFIX:PATH=../dist .. |
315 |
| - cmake --build . |
316 |
| - cmake --build . --target install |
| 311 | + cmake -DCMAKE_INSTALL_PREFIX:PATH=../dist -B build |
| 312 | + cmake --build build |
| 313 | + cmake --build build --target install |
317 | 314 |
|
318 | 315 | - name: Install FPM
|
319 | 316 | run: |
|
|
0 commit comments