Skip to content

Commit

Permalink
Merge pull request aristocratos#684 from kz6fittycent/main
Browse files Browse the repository at this point in the history
  • Loading branch information
aristocratos committed Dec 17, 2023
2 parents fe699b4 + 2d3e453 commit 2d15c41
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 2 deletions.
5 changes: 4 additions & 1 deletion .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ Any bug that can be solved by just reading the [prerequisites](https://github.co

**Info (please complete the following information):**
- btop++ version: `btop -v`
- If using snap: `snap info btop`
- Binary: [self compiled or static binary from release]
- (If compiled) Compiler and version:
- Architecture: [x86_64, aarch64, etc.] `uname -m`
Expand All @@ -40,7 +41,9 @@ Any bug that can be solved by just reading the [prerequisites](https://github.co

**Additional context**

contents of `~/.config/btop/btop.log`
Contents of `~/.config/btop/btop.log`

Note: The snap uses: `~/snap/btop/current/.config/btop`

(try running btop with `--debug` flag if btop.log is empty)

Expand Down
34 changes: 34 additions & 0 deletions .github/workflows/test-snap-can-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: 🧪 Test snap can be built on x86_64

on:
push:
branches: [ main ]
tags-ignore:
- '*.*'
paths:
- 'src/**'
- '!src/osx/**'
- '!src/freebsd/**'
- 'include/**'
- 'Makefile'
- '.github/workflows/continuous-build-linux.yml'
pull_request:
branches: [ main ]

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x]

steps:
- uses: actions/checkout@v2

- uses: snapcore/action-build@v1
id: build

- uses: diddlesnaps/snapcraft-review-action@v1
with:
snap: ${{ steps.build.outputs.snap }}
isClassic: 'false'
2 changes: 1 addition & 1 deletion snap/snapcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ apps:
- network-observe
- home
- removable-media
- opengl

parts:
btop:
Expand All @@ -47,7 +48,6 @@ parts:
- PREFIX=/usr/local
- STATIC=true
- ADDFLAGS="-D SNAPPED"

build-packages:
- coreutils
- sed
Expand Down

0 comments on commit 2d15c41

Please sign in to comment.