Compare commits

...

4 commits

Author SHA1 Message Date
Bruno BELANYI f14f0ce9db ci: add Drone CI
Some checks failed
continuous-integration/drone Build is failing
2021-08-31 20:21:12 +02:00
Bruno BELANYI ac6b633c89 nix: remove 'meta.broken'
Now that we actually install the program...
2021-08-31 20:20:30 +02:00
Bruno BELANYI edd8d1f329 abacus: fix install 2021-08-31 20:20:22 +02:00
Bruno BELANYI be781b0d2f abacus: use static libraries
We do not want to install those libraries in any way.
2021-08-31 20:20:09 +02:00
5 changed files with 30 additions and 3 deletions

27
.drone.yml Normal file
View file

@ -0,0 +1,27 @@
---
kind: pipeline
type: exec
name: abacus checks
steps:
- name: flake check
commands:
- nix flake check
- name: notifiy
commands:
- nix run .#matrix-notifier
environment:
ADDRESS:
from_secret: matrix_homeserver
ROOM:
from_secret: matrix_roomid
USER:
from_secret: matrix_username
PASS:
from_secret: matrix_password
when:
status:
- failure
- success
...

View file

@ -87,7 +87,6 @@
];
meta = with pkgs.lib; {
broken = true; # Only breaks under nix
description = "A simple calculator using big numbers";
homepage = "https://gitea.belanyi.fr/ambroisie/abacus";
license = licenses.mit;

View file

@ -5,7 +5,7 @@ bignum_sources = files(
bignum_inc = include_directories('.')
bignum_lib = library(
bignum_lib = static_library(
'bignum',
sources: bignum_sources,
)

View file

@ -12,4 +12,5 @@ abacus = executable(
bignum,
parse,
],
install: true,
)

View file

@ -31,7 +31,7 @@ parser_sources = custom_target(
parse_inc = include_directories('.')
parse_lib = library(
parse_lib = static_library(
'parser',
'parser-driver.cc',
'parser-driver.hh',