Skip to content

Commit

Permalink
Merge pull request #9 from fatalbanana/gha
Browse files Browse the repository at this point in the history
Migrate to Github Actions
  • Loading branch information
vstakhov authored Mar 20, 2024
2 parents ec13fa9 + 1576969 commit 139d66b
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 116 deletions.
42 changes: 0 additions & 42 deletions .drone.jsonnet

This file was deleted.

74 changes: 0 additions & 74 deletions .drone.yml

This file was deleted.

28 changes: 28 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: ci

on:
pull_request:
push:
branches:
- master

jobs:
test:
runs-on: [ "ubuntu-latest" ]
container:
image: ghcr.io/rspamd/rspamd-build-docker:rbldnsd-build
options: --user root
steps:
- name: Check out source code
uses: actions/checkout@v4

- name: Run tests
run: |
mkdir build.rbldnsd
cd build.rbldnsd
cmake -DNO_IPv6=ON $GITHUB_WORKSPACE
make
cd $GITHUB_WORKSPACE
mv build.rbldnsd/rbldnsd* .
bash -c "source /venv/bin/activate && robot test/functional/cases"
bash -c "source /venv/bin/activate && python3 test/pyunit/tests.py"

0 comments on commit 139d66b

Please sign in to comment.