aboutsummaryrefslogtreecommitdiff
path: root/works/teapot/.github/workflows
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2023-10-17 22:02:25 +0800
committercrupest <crupest@outlook.com>2023-10-17 22:02:25 +0800
commite09b474e2e9fb9ae87536bdce5c8df3c5f8006ee (patch)
tree8554f8c4de21603d13dd5d306514c77e14f083df /works/teapot/.github/workflows
downloadcrupest-e09b474e2e9fb9ae87536bdce5c8df3c5f8006ee.tar.gz
crupest-e09b474e2e9fb9ae87536bdce5c8df3c5f8006ee.tar.bz2
crupest-e09b474e2e9fb9ae87536bdce5c8df3c5f8006ee.zip
import(teapot): Startup!
Diffstat (limited to 'works/teapot/.github/workflows')
-rw-r--r--works/teapot/.github/workflows/ci.yaml30
1 files changed, 30 insertions, 0 deletions
diff --git a/works/teapot/.github/workflows/ci.yaml b/works/teapot/.github/workflows/ci.yaml
new file mode 100644
index 0000000..426fdb9
--- /dev/null
+++ b/works/teapot/.github/workflows/ci.yaml
@@ -0,0 +1,30 @@
+name: CI
+
+on:
+ push:
+ branches: [main]
+ pull_request:
+ branches: [main]
+
+jobs:
+ build:
+ name: Build
+ runs-on: ubuntu-latest
+ defaults:
+ run:
+ shell: bash
+
+ steps:
+ - uses: actions/checkout@v3
+
+ - name: Install Build Dependencies
+ run: ./script/install-deps.bash
+
+ - name: Build Deb Package
+ run: ./script/build-deb.bash
+
+ - name: Upload Artifact
+ uses: actions/upload-artifact@v3
+ with:
+ name: deb-package
+ path: build/package.deb