Skip to content

Commit

Permalink
Snapshot builder
Browse files Browse the repository at this point in the history
  • Loading branch information
hectorespert committed Jul 26, 2024
1 parent e1481f8 commit 4955ba2
Showing 1 changed file with 32 additions and 1 deletion.
33 changes: 32 additions & 1 deletion .github/workflows/deb.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
name: deb
on: [push, pull_request]
jobs:
builds:
pi:
name: "Build deb package for Rasspberry Pi"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4.1.2
Expand All @@ -26,6 +27,36 @@ jobs:
run: make go
- name: pi
run: make pi
- name: bundler
run: gem install bundler -v 2.4 --no-document
- name: fpm
run: bundle install
- name: deb
run: make pi_deb
zero:
name: "Build deb package for Rasspberry Pi Zero"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4.1.2
- uses: ruby/setup-ruby@v1
with:
ruby-version: 3.2.0
- uses: actions/setup-go@v5
with:
go-version: '^1.20'
- uses: actions/setup-node@v4
with:
node-version: 18.13.0
- uses: actions/cache@v3.3.2
with:
path: node_modules
key: ${{ runner.os }}-node_modules-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-node_modules-
- name: Install
run: yarn
- name: go
run: make go
- name: pi-zero
run: make pi-zero
- name: bundler
Expand Down

0 comments on commit 4955ba2

Please sign in to comment.