-
Notifications
You must be signed in to change notification settings - Fork 93
71 lines (59 loc) · 1.94 KB
/
ci-nowindows.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
name: CINoWindows
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
workflow_dispatch:
inputs:
debug_enabled:
description: 'Build and run interactive shell'
required: false
default: false
env:
# Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.)
BUILD_TYPE: Release
jobs:
# Installation of dependencies is too OS-dependent now, we don't
# miss that much by particularizing this in a per-OS basis.
build-linux-appimage:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- name: Setup interactive shell session
uses: mxschmitt/action-tmate@v3
if: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.debug_enabled }}
- name: Install dependencies
uses: "./.github/actions/linuxdeps"
- name: Build & Distribute (SigDigger)
run: |
cd Scripts
chmod a+x dist-appimage.sh
export LD_LIBRARY_PATH="$LD_LIBRARY_PATH":"$PWD"/deploy-root/lib
SIGDIGGER_EMBED_SOAPYSDR=1 BUILDTYPE=Release BRANCH=master ./dist-appimage.sh
cd ..
- name: Archive AppImage files
uses: actions/upload-artifact@v4
with:
name: linux-latest-appimage
path: Scripts/*.AppImage
build-macos:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- name: Setup interactive shell session
uses: mxschmitt/action-tmate@v3
if: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.debug_enabled }}
- name: Install dependencies
uses: "./.github/actions/macosdeps"
- name: Build & Distribute (SigDigger)
run: |
cd Scripts
chmod a+x dist-dmg.sh
SIGDIGGER_EMBED_SOAPYSDR=1 BUILDTYPE=Release BRANCH=master ./dist-dmg.sh
cd ..
- name: Archive .DMG files
uses: actions/upload-artifact@v4
with:
name: macos-latest-dmg
path: Scripts/*.dmg