Skip to content

Commit

Permalink
feat: add CI
Browse files Browse the repository at this point in the history
  • Loading branch information
mirkobrombin committed Jan 24, 2024
1 parent 872cdea commit 77b17f8
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: build

on:
push:
branches: [ "main" ]

jobs:
build:
runs-on: ubuntu-22.04
container:
image: ghcr.io/vanilla-os/pico:main
volumes:
- /proc:/proc
- /:/run/host
options: --privileged -it

steps:
- uses: actions/checkout@v4

- name: De-bloat stock image
run: |
rm -r /run/host/usr/share/dotnet
rm -r /run/host${{ runner.tool_cache }}
- name: Install needed packages
run: apt update && apt install build-essential debhelper-compat dh-sequence-gnome libglib2.0-dev meson

- name: Build debian package
run: |
dpkg-buildpackage --no-sign
mv ../*.deb ../vanilla-backgrounds.deb
- uses: softprops/action-gh-release@v1
with:
token: "${{ secrets.GITHUB_TOKEN }}"
tag_name: "continuous"
prerelease: true
name: "Continuous Build"
files: |
/__w/vanilla-backgrounds/vanilla-backgrounds.deb

0 comments on commit 77b17f8

Please sign in to comment.