-
Notifications
You must be signed in to change notification settings - Fork 0
47 lines (43 loc) · 1.29 KB
/
ci.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
name: CI
on:
push:
branches: [ main ]
tags: [ v* ]
repository_dispatch:
types: [ new-jx ]
workflow_dispatch:
jobs:
analyze-ubuntu:
name: Ubuntu
if: ${{ !startsWith(github.ref, 'refs/tags/') }}
uses: jafl/jx_application_framework/.github/workflows/app-analyze-ubuntu.yml@main
secrets:
sonar-token: ${{ secrets.SONAR_TOKEN }}
build-ubuntu:
name: Ubuntu
if: ${{ startsWith(github.ref, 'refs/tags/') }}
uses: jafl/jx_application_framework/.github/workflows/app-build-ubuntu.yml@main
with:
pkg-name: systemg
build-fedora:
name: Fedora
uses: jafl/jx_application_framework/.github/workflows/app-build-fedora.yml@main
with:
pkg-name: systemg
build-macos:
name: macOS
uses: jafl/jx_application_framework/.github/workflows/app-build-macos.yml@main
with:
pkg-name: systemg
release:
name: Release
needs: [ build-ubuntu, build-fedora, build-macos ]
if: ${{ startsWith(github.ref, 'refs/tags/') }}
uses: jafl/jx_application_framework/.github/workflows/app-release.yml@main
with:
pkg-name: systemg
forge-name: nps-systemg
secrets:
api-key: ${{ secrets.SOURCEFORGE_API_KEY }}
ssh-key: ${{ secrets.SOURCEFORGE_SSH_KEY }}
update-homebrew: ${{ secrets.UPDATE_HOMEBREW }}