mirror of
https://github.com/danbulant/nekofetch
synced 2026-05-19 04:08:43 +00:00
34 lines
616 B
YAML
34 lines
616 B
YAML
# Build a deb artifact on commit
|
|
|
|
name: CI
|
|
|
|
on: [push, pull_request]
|
|
|
|
jobs:
|
|
shellcheck:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
|
|
- name: Run shellcheck
|
|
uses: ludeeus/action-shellcheck@master
|
|
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
matrix:
|
|
arch:
|
|
- amd64
|
|
- iphoneos-arm
|
|
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
|
|
- name: Build deb
|
|
run: make ${{ matrix.arch }}deb
|
|
|
|
- name: Upload deb as artifact
|
|
uses: actions/upload-artifact@v2
|
|
with:
|
|
name: ${{ matrix.arch }}-deb
|
|
path: "*nekofetch*.deb"
|