Skip to content

Commit

Permalink
Add CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Tereius committed Aug 17, 2024
1 parent 40ed233 commit c501b70
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: "Create Conan Package"
on: push

jobs:
build_linux:
name: "Linux"
uses: Privatehive/conan-workflows/.github/workflows/createPackage.yml@master
with:
image: "ghcr.io/privatehive/conan-ubuntu:latest"
machine_type: c2d-standard-8
conan_remotes: https://conan.privatehive.de/artifactory/api/conan/public-conan
conan_options: "plabels/*:shared=True"

build_windows:
name: "Windows"
uses: Privatehive/conan-workflows/.github/workflows/createPackage.yml@master
with:
image: "ghcr.io/privatehive/conan-wine:latest"
machine_type: c2d-standard-8
conan_host_profile: "windowsMinGW"
conan_remotes: https://conan.privatehive.de/artifactory/api/conan/public-conan
conan_options: "plabels/*:shared=False"

upload_recipe:
name: "Finalize"
uses: Privatehive/conan-workflows/.github/workflows/uploadRecipe.yml@master
needs: [ build_linux, build_windows ]
if: ${{ success() }}
secrets: inherit
with:
publish_property: ${{ github.ref == 'refs/heads/master' }}
conan_upload_remote: https://conan.privatehive.de/artifactory/api/conan/public-conan
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,8 @@ on [ptouch-print](https://dominic.familie-radermacher.ch/projekte/ptouch-print/)

### Usage

Just running pLabels AppImage should be enough but...

* If the printer is not found, put this
[71-brother-ptouch.rules](https://github.com/Privatehive/pLabels/blob/40ed233bdd0af4f758ec179224aff3cd95a1435e/share/71-brother-ptouch.rules)
udev rule file into the /etc/udev/rules.d dir

0 comments on commit c501b70

Please sign in to comment.