Skip to content

Commit

Permalink
Migrate to Github Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
fatalbanana committed Mar 20, 2024
1 parent ec13fa9 commit 1576969
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 1576969

Please sign in to comment.