mirror of
https://github.com/f4exb/sdrangel.git
synced 2025-05-29 05:22:25 -04:00
Finalized MSVC build in Github actions and removed MSVC build in Appveyor
This commit is contained in:
parent
4ecdee76de
commit
dad546eb2e
@ -10,16 +10,16 @@ matrix:
|
|||||||
|
|
||||||
environment:
|
environment:
|
||||||
matrix:
|
matrix:
|
||||||
- TARGET: vs2019gui
|
# - TARGET: vs2019gui
|
||||||
APPVEYOR_BUILD_WORKER_IMAGE: 'Visual Studio 2019'
|
# APPVEYOR_BUILD_WORKER_IMAGE: 'Visual Studio 2019'
|
||||||
configuration: Release
|
# configuration: Release
|
||||||
CMAKE_CUSTOM_OPTIONS: "-DCMAKE_BUILD_TYPE=Release \
|
# CMAKE_CUSTOM_OPTIONS: "-DCMAKE_BUILD_TYPE=Release \
|
||||||
-DARCH_OPT=SSE4_2 \
|
# -DARCH_OPT=SSE4_2 \
|
||||||
-DDEBUG_OUTPUT=ON \
|
# -DDEBUG_OUTPUT=ON \
|
||||||
-DENABLE_MIRISDR=OFF \
|
# -DENABLE_MIRISDR=OFF \
|
||||||
-DBUILD_SERVER=OFF \
|
# -DBUILD_SERVER=OFF \
|
||||||
-DCMAKE_PREFIX_PATH=C:\\Qt\\5.15.2\\msvc2019_64;C:\\Libraries\\boost_1_73_0"
|
# -DCMAKE_PREFIX_PATH=C:\\Qt\\5.15.2\\msvc2019_64;C:\\Libraries\\boost_1_73_0"
|
||||||
CMAKE_GENERATOR: Ninja
|
# CMAKE_GENERATOR: Ninja
|
||||||
- TARGET: ubuntu2004prod
|
- TARGET: ubuntu2004prod
|
||||||
APPVEYOR_BUILD_WORKER_CLOUD: nasrock Docker
|
APPVEYOR_BUILD_WORKER_CLOUD: nasrock Docker
|
||||||
APPVEYOR_BUILD_WORKER_IMAGE: Linux
|
APPVEYOR_BUILD_WORKER_IMAGE: Linux
|
||||||
@ -36,36 +36,36 @@ environment:
|
|||||||
APPVEYOR_CONSOLE_DISABLE_PTY: true
|
APPVEYOR_CONSOLE_DISABLE_PTY: true
|
||||||
|
|
||||||
for:
|
for:
|
||||||
- matrix:
|
# - matrix:
|
||||||
only:
|
# only:
|
||||||
- TARGET: 'vs2019gui'
|
# - TARGET: 'vs2019gui'
|
||||||
cache:
|
# cache:
|
||||||
- C:\ProgramData\chocolatey\bin
|
# - C:\ProgramData\chocolatey\bin
|
||||||
- C:\ProgramData\chocolatey\lib
|
# - C:\ProgramData\chocolatey\lib
|
||||||
build_script:
|
# build_script:
|
||||||
- call "%ProgramFiles(x86)%\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvars64.bat"
|
# - call "%ProgramFiles(x86)%\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvars64.bat"
|
||||||
# Install GNU patch as applying patches with git fails in BladeRF tree
|
# # Install GNU patch as applying patches with git fails in BladeRF tree
|
||||||
- choco install patch
|
# - choco install patch
|
||||||
- git submodule update --init --recursive
|
# - git submodule update --init --recursive
|
||||||
- mkdir build && cd build
|
# - mkdir build && cd build
|
||||||
- cmake .. -G "%CMAKE_GENERATOR%" %CMAKE_CUSTOM_OPTIONS%
|
# - cmake .. -G "%CMAKE_GENERATOR%" %CMAKE_CUSTOM_OPTIONS%
|
||||||
- cmake --build . --config Release --target package
|
# - cmake --build . --config Release --target package
|
||||||
artifacts: # push installer executable
|
# artifacts: # push installer executable
|
||||||
path: build\*.exe
|
# path: build\*.exe
|
||||||
name: installer
|
# name: installer
|
||||||
deploy:
|
# deploy:
|
||||||
release: sdrangel-v$(appveyor_build_version)
|
# release: sdrangel-v$(appveyor_build_version)
|
||||||
description: 'SDRangel Windows'
|
# description: 'SDRangel Windows'
|
||||||
provider: GitHub
|
# provider: GitHub
|
||||||
auth_token:
|
# auth_token:
|
||||||
secure: kyU5TaXRoily6q/QLRLqal2xCFGWEdnb8AJIu7FknsUQyj1wjRGmqC2My+Wfszod
|
# secure: kyU5TaXRoily6q/QLRLqal2xCFGWEdnb8AJIu7FknsUQyj1wjRGmqC2My+Wfszod
|
||||||
artifact: installer, portable
|
# artifact: installer, portable
|
||||||
draft: false
|
# draft: false
|
||||||
prerelease: false
|
# prerelease: false
|
||||||
tag: $(APPVEYOR_REPO_TAG_NAME) # will not work until tag is pushed
|
# tag: $(APPVEYOR_REPO_TAG_NAME) # will not work until tag is pushed
|
||||||
on:
|
# on:
|
||||||
APPVEYOR_REPO_TAG: true # deploy on tag push only
|
# APPVEYOR_REPO_TAG: true # deploy on tag push only
|
||||||
branch: master # release from master branch only
|
# branch: master # release from master branch only
|
||||||
- matrix:
|
- matrix:
|
||||||
only:
|
only:
|
||||||
- TARGET: ubuntu2004prod
|
- TARGET: ubuntu2004prod
|
||||||
|
43
.github/workflows/sdrangel.yml
vendored
43
.github/workflows/sdrangel.yml
vendored
@ -5,49 +5,6 @@ name: SDRangel CI/CD
|
|||||||
on: [push]
|
on: [push]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
test:
|
|
||||||
if: false
|
|
||||||
name: ${{ matrix.config.name }}-Test
|
|
||||||
runs-on: ${{ matrix.config.os }}
|
|
||||||
strategy:
|
|
||||||
fail-fast: false
|
|
||||||
matrix:
|
|
||||||
config:
|
|
||||||
- {
|
|
||||||
name: "Windows-x64",
|
|
||||||
WIN_ARCH: "x64",
|
|
||||||
os: windows-latest,
|
|
||||||
QT_INST_DIR: "C:/",
|
|
||||||
QTDIR: "C:/Qt/5.15.2/msvc2019_64",
|
|
||||||
QT_ARCH: win64_msvc2019_64,
|
|
||||||
boost_dl: "${{ github.workspace }}\\downloads\\boost",
|
|
||||||
lib_dir: "C:\\Libraries",
|
|
||||||
build_type: "Release",
|
|
||||||
archiver: "7z a",
|
|
||||||
generators: Ninja
|
|
||||||
}
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v2
|
|
||||||
with:
|
|
||||||
submodules: true
|
|
||||||
fetch-depth: 0
|
|
||||||
- name: Print env
|
|
||||||
run: |
|
|
||||||
echo github.event.action: ${{ github.event.action }}
|
|
||||||
echo github.event_name: ${{ github.event_name }}
|
|
||||||
echo github.ref: ${{ github.ref }}
|
|
||||||
echo github.workspace: ${{ github.workspace }}
|
|
||||||
- name: Get version
|
|
||||||
id: get_version
|
|
||||||
run: echo "::set-output name=version::$(git describe --tags | cut -c2-)"
|
|
||||||
- name: Create dummy artifact
|
|
||||||
run: echo "test" > ${{ github.workspace }}/test-${{ steps.get_version.outputs.version }}.txt
|
|
||||||
- name: Upload artifact
|
|
||||||
uses: actions/upload-artifact@v2
|
|
||||||
with:
|
|
||||||
name: test-${{ steps.get_version.outputs.version }}.txt
|
|
||||||
path: ${{ github.workspace }}/test-${{ steps.get_version.outputs.version }}.txt
|
|
||||||
|
|
||||||
build:
|
build:
|
||||||
name: ${{ matrix.config.name }}
|
name: ${{ matrix.config.name }}
|
||||||
runs-on: ${{ matrix.config.os }}
|
runs-on: ${{ matrix.config.os }}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user