aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormerakor <cem@ckyln.com>2021-03-04 06:41:52 +0000
committermerakor <cem@ckyln.com>2021-03-04 06:41:52 +0000
commit82ca4c3feb08dbbbae0636a0a2a294323952f477 (patch)
tree0070e50e7224333170b758a92ca19b1fff910a46
parentcb7a8dcdd8509a0f9d1d06e6f6485af5e791f921 (diff)
downloadcpt-82ca4c3feb08dbbbae0636a0a2a294323952f477.tar.gz
tests: switch to builds.sr.ht from github
FossilOrigin-Name: a506e1252474a223e5d0e4208d714f8d0991732f0e5d5b2fa7af6dfd599e6e09
-rw-r--r--.build.yml9
-rw-r--r--.github/workflows/main.yml18
2 files changed, 9 insertions, 18 deletions
diff --git a/.build.yml b/.build.yml
new file mode 100644
index 0000000..62ca94c
--- /dev/null
+++ b/.build.yml
@@ -0,0 +1,9 @@
+image: alpine/edge
+packages:
+ - curl
+tasks:
+ - build: |
+ make
+ - test: |
+ curl -fsSL https://git.io/shellspec | sh -s -- -y
+ make test
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
deleted file mode 100644
index b9bcbbe..0000000
--- a/.github/workflows/main.yml
+++ /dev/null
@@ -1,18 +0,0 @@
-name: main
-on: [push, pull_request]
-jobs:
- build:
- runs-on: ubuntu-latest
- steps:
- - uses: actions/checkout@v1
- - name: Run make
- run: make
- test:
- runs-on: ubuntu-latest
- needs: build
- steps:
- - uses: actions/checkout@v1
- - name: Install shellspec
- run: curl -fsSL https://git.io/shellspec | sudo sh -s -- -p /usr/local -y
- - name: Run tests
- run: make test