Skip to content

Commit

Permalink
ci: Install the repo and codemeter-lite
Browse files Browse the repository at this point in the history
  • Loading branch information
AiyionPrime committed Sep 5, 2024
1 parent b8c86d7 commit 20350d7
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,5 @@ name: CI
jobs:
ubuntu_verify_repo:
uses: ./.github/workflows/ci_ubuntu_verify_repo.yml
ubuntu_verify_installation:
uses: ./.github/workflows/ci_ubuntu_verify_installation.yml
24 changes: 24 additions & 0 deletions .github/workflows/ci_ubuntu_verify_installation.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: CI ubuntu verify installation
'on':
workflow_call: null
jobs:
package_is_installable:
runs-on: ubuntu-latest
steps:
- name: Checkout (GitHub)
uses: actions/checkout@v4
- name: Provide the repo locally via http
run: nohup python3 -m http.server 8080 &
working-directory: ./ubuntu/
- name: Install maintainer publickey
run: curl -s --compressed http://localhost:8080/burfeind_jan-niklas.gpg | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/burfeind_jan-niklas.gpg
- name: Add local repo to APT sources
run: echo "deb [signed-by=/etc/apt/trusted.gpg.d/burfeind_jan-niklas.gpg] http://localhost:8080 ./" | sudo tee /etc/apt/sources.list.d/localrepo.list
- name: Update apt
run: sudo apt-get update
- name: Install codemeter-lite
run: sudo apt-get install -y codemeter-lite
- name: Kill the webserver again
run: sudo pkill python3
- name: Codemeter is running
run: systemctl status codemeter

0 comments on commit 20350d7

Please sign in to comment.