Skip to content

Commit 221eb8a

Browse files
committed
Switch to GitHub Actions
1 parent 082596c commit 221eb8a

File tree

4 files changed

+26
-18
lines changed

4 files changed

+26
-18
lines changed

.circleci/config.yml

Lines changed: 0 additions & 17 deletions
This file was deleted.
File renamed without changes.

.github/workflows/ci.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
branches:
9+
- main
10+
11+
jobs:
12+
build:
13+
runs-on: ubuntu-latest
14+
15+
steps:
16+
- name: Checkout Repository
17+
uses: actions/checkout@v4
18+
19+
- name: Build Docker Image
20+
run: docker build -t rgov/sqlite_protobuf_build -f .github/docker/Dockerfile .
21+
22+
- name: Run CI in Container
23+
run: |
24+
docker run --rm -v ${{ github.workspace }}:/workspace -w /workspace rgov/sqlite_protobuf_build \
25+
bash -c "mkdir build && cd build && cmake -G Ninja .. && cmake --build . && ctest --output-on-failure"

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
[![CircleCI](https://circleci.com/gh/rgov/sqlite_protobuf.svg?style=svg)](https://circleci.com/gh/rgov/sqlite_protobuf)
1+
[![Build](https://github.com/rgov/sqlite_protobuf/actions/workflows/ci.yml/badge.svg)](https://github.com/rgov/sqlite_protobuf/actions/workflows/ci.yml)
22

33
# Protobuf Extension for SQLite
44

0 commit comments

Comments
 (0)