Compare commits
4 commits
9d8d3fa864
...
f14f0ce9db
Author | SHA1 | Date | |
---|---|---|---|
Bruno BELANYI | f14f0ce9db | ||
Bruno BELANYI | ac6b633c89 | ||
Bruno BELANYI | edd8d1f329 | ||
Bruno BELANYI | be781b0d2f |
27
.drone.yml
Normal file
27
.drone.yml
Normal 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
|
||||||
|
...
|
|
@ -87,7 +87,6 @@
|
||||||
];
|
];
|
||||||
|
|
||||||
meta = with pkgs.lib; {
|
meta = with pkgs.lib; {
|
||||||
broken = true; # Only breaks under nix
|
|
||||||
description = "A simple calculator using big numbers";
|
description = "A simple calculator using big numbers";
|
||||||
homepage = "https://gitea.belanyi.fr/ambroisie/abacus";
|
homepage = "https://gitea.belanyi.fr/ambroisie/abacus";
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
|
|
|
@ -5,7 +5,7 @@ bignum_sources = files(
|
||||||
|
|
||||||
bignum_inc = include_directories('.')
|
bignum_inc = include_directories('.')
|
||||||
|
|
||||||
bignum_lib = library(
|
bignum_lib = static_library(
|
||||||
'bignum',
|
'bignum',
|
||||||
sources: bignum_sources,
|
sources: bignum_sources,
|
||||||
)
|
)
|
||||||
|
|
|
@ -12,4 +12,5 @@ abacus = executable(
|
||||||
bignum,
|
bignum,
|
||||||
parse,
|
parse,
|
||||||
],
|
],
|
||||||
|
install: true,
|
||||||
)
|
)
|
||||||
|
|
|
@ -31,7 +31,7 @@ parser_sources = custom_target(
|
||||||
|
|
||||||
parse_inc = include_directories('.')
|
parse_inc = include_directories('.')
|
||||||
|
|
||||||
parse_lib = library(
|
parse_lib = static_library(
|
||||||
'parser',
|
'parser',
|
||||||
'parser-driver.cc',
|
'parser-driver.cc',
|
||||||
'parser-driver.hh',
|
'parser-driver.hh',
|
||||||
|
|
Loading…
Reference in a new issue