-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Setup Github actions to create first release
Added yamls for github actions Move package.yaml Typo fix Moved package.yaml to root of repo Update package.yaml Update main.yaml Update main.yaml First Release (using github actions)
- Loading branch information
Showing
8 changed files
with
83 additions
and
105 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
# This is a basic workflow to help you get started with Actions | ||
|
||
name: PackageCreator | ||
|
||
# Controls when the action will run. | ||
on: | ||
# Triggers the workflow on new version | ||
push: | ||
tags: | ||
- "v*.*.*" | ||
|
||
# Allows you to run this workflow manually from the Actions tab | ||
workflow_dispatch: | ||
|
||
# A workflow run is made up of one or more jobs that can run sequentially or in parallel | ||
jobs: | ||
# This workflow contains a single job called "build" | ||
build: | ||
# The type of runner that the job will run on | ||
runs-on: ubuntu-latest | ||
|
||
# Steps represent a sequence of tasks that will be executed as part of the job | ||
steps: | ||
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it | ||
- uses: actions/checkout@v2 | ||
- name: Set env | ||
run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV | ||
- name: Build libraries and executable | ||
run: | | ||
cmake build . | ||
make | ||
sudo make install | ||
cd Examples/PosturePerfection | ||
cmake build . | ||
make | ||
- name: Build Linux Packages | ||
# You may pin to the exact commit or the version. | ||
# uses: kentik/pkg@acc28d8704a179dd0378c3c21eb8d8dbb803edb6 | ||
uses: kentik/[email protected] | ||
with: | ||
# Package name | ||
name: PosturePerfectionReceiver | ||
# Package version | ||
version: 1.0.0 | ||
# Package architecture | ||
arch: x86_64 | ||
# Package format | ||
format: deb | ||
# Package spec file | ||
package: package.yaml | ||
- name: 'Upload Artifact' | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: PosturePerfectionReceiver | ||
path: ${{ github.workspace }}/*.deb |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file removed
BIN
-18.5 KB
Examples/PosturePerfection/debPackage/PosturePerfectionReceiver_1.0_amd64.deb
Binary file not shown.
5 changes: 0 additions & 5 deletions
5
Examples/PosturePerfection/debPackage/PosturePerfectionReceiver_1.0_amd64/DEBIAN/control
This file was deleted.
Oops, something went wrong.
96 changes: 0 additions & 96 deletions
96
...on/debPackage/PosturePerfectionReceiver_1.0_amd64/usr/local/include/RemoteNotifyReceive.h
This file was deleted.
Oops, something went wrong.
Binary file removed
BIN
-8.42 KB
...onReceiver_1.0_amd64/usr/local/share/PosturePerfection/posture-logo-no-text.png
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
meta: | ||
description: UDP Receiver for messages from Posture Perfection main program | ||
vendor: ESE-Peasy | ||
maintainer: ESE-Peasy | ||
files: | ||
"/usr/local/bin/PosturePerfectionReceiver": | ||
file: Examples/PosturePerfection/PosturePerfectionReceiver | ||
mode: "0755" | ||
user: "root" | ||
"/usr/local/lib/libRemoteNotifyReceive.a": | ||
file: libRemoteNotifyReceive.a | ||
mode: "0755" | ||
user: "root" | ||
keep: true | ||
"/usr/local/include/RemoteNotifyReceive.h": | ||
file: RemoteNotifyReceive.h | ||
mode: "0755" | ||
user: "root" | ||
keep: true | ||
"/usr/local/share/PosturePerfection/posture-logo-no-text.png": | ||
file: Examples/PosturePerfection/posture-logo-no-text.png | ||
mode: "0755" | ||
user: "root" | ||
keep: true |