Check space at more points

pull/1841/head
Jon Beniston 2023-09-24 20:10:33 +01:00
rodzic 12d592d2ed
commit b267efaa7a
1 zmienionych plików z 7 dodań i 1 usunięć

Wyświetl plik

@ -41,6 +41,8 @@ jobs:
echo github.event_name: ${{ github.event_name }} echo github.event_name: ${{ github.event_name }}
echo github.ref: ${{ github.ref }} echo github.ref: ${{ github.ref }}
echo github.workspace: ${{ github.workspace }} echo github.workspace: ${{ github.workspace }}
- name: Check space 1
run: Get-PSDrive
- name: Install basic dependencies on Windows - name: Install basic dependencies on Windows
if: startsWith(matrix.config.os, 'windows') if: startsWith(matrix.config.os, 'windows')
run: | run: |
@ -75,6 +77,8 @@ jobs:
arch: ${{matrix.config.QT_ARCH}} arch: ${{matrix.config.QT_ARCH}}
setup-python: false setup-python: false
modules: 'qtcharts qtwebengine' modules: 'qtcharts qtwebengine'
- name: Check space 2
run: Get-PSDrive
- name: build sdrangel on Windows - name: build sdrangel on Windows
if: startsWith(matrix.config.os, 'windows') if: startsWith(matrix.config.os, 'windows')
run: | run: |
@ -83,6 +87,8 @@ jobs:
mkdir build && cd build mkdir build && cd build
cmake .. -G "${{ matrix.config.generators }}" -DCMAKE_BUILD_TYPE=Release -DARCH_OPT=SSE4_2 -DDEBUG_OUTPUT=ON -DENABLE_MIRISDR=OFF -DBUILD_SERVER=OFF -DCMAKE_PREFIX_PATH="C:\Qt\5.15.2\msvc2019_64;C:\Libraries\boost_1_73_0" cmake .. -G "${{ matrix.config.generators }}" -DCMAKE_BUILD_TYPE=Release -DARCH_OPT=SSE4_2 -DDEBUG_OUTPUT=ON -DENABLE_MIRISDR=OFF -DBUILD_SERVER=OFF -DCMAKE_PREFIX_PATH="C:\Qt\5.15.2\msvc2019_64;C:\Libraries\boost_1_73_0"
cmake --build . --config Release --target package cmake --build . --config Release --target package
- name: Check space 3
run: Get-PSDrive
- name: Get version - name: Get version
id: get_version id: get_version
run: echo "version=$(grep sdrangel_VERSION build/CMakeCache.txt | cut -d "=" -f2)" >> $env:GITHUB_OUTPUT run: echo "version=$(grep sdrangel_VERSION build/CMakeCache.txt | cut -d "=" -f2)" >> $env:GITHUB_OUTPUT
@ -101,7 +107,7 @@ jobs:
uses: softprops/action-gh-release@v0.1.13 uses: softprops/action-gh-release@v0.1.13
with: with:
files: ${{ github.workspace }}/build/sdrangel-${{ steps.get_version.outputs.version }}-win64.exe files: ${{ github.workspace }}/build/sdrangel-${{ steps.get_version.outputs.version }}-win64.exe
- name: Check space - name: Check space 3
run: Get-PSDrive run: Get-PSDrive
build_mac: build_mac: