Compare commits

...

4 Commits

Author SHA1 Message Date
zxq9 b29d585b87 Update .gitea/workflows/test.yaml
eBlake2 Tests / tests (push) Successful in -4m0s
2025-01-23 14:52:07 +09:00
zxq9 c288bece06 Add tests to runner
Gajumaru Bytecode Tests / tests (push) Successful in -3m56s
2025-01-23 14:41:59 +09:00
zxq9 67811b43ca Add back app file 2025-01-23 14:38:53 +09:00
zxq9 6d5378a7ec Zompify and migrate (#1)
Reviewed-on: #1
Co-authored-by: Craig Everett <zxq9@zxq9.com>
Co-committed-by: Craig Everett <zxq9@zxq9.com>
2025-01-23 14:17:38 +09:00
11 changed files with 57 additions and 42 deletions
-37
View File
@@ -1,37 +0,0 @@
version: 2.1
executors:
aebuilder:
docker:
- image: aeternity/builder:bionic-otp23
user: builder
working_directory: ~/src
jobs:
build:
executor: aebuilder
steps:
- checkout
- restore_cache:
keys:
- dialyzer-cache-v1-{{ .Branch }}-{{ .Revision }}
- dialyzer-cache-v1-{{ .Branch }}-
- dialyzer-cache-v1-
- run:
name: Build
command: rebar3 compile
- run:
name: Static Analysis
command: rebar3 dialyzer
- run:
name: Eunit
command: rebar3 eunit
- run:
name: Common Tests
command: rebar3 ct
- save_cache:
key: dialyzer-cache-v1-{{ .Branch }}-{{ .Revision }}
paths:
- _build/default/rebar3_20.3.8_plt
- store_artifacts:
path: _build/test/logs
+17
View File
@@ -0,0 +1,17 @@
name: eBlake2 Tests
run-name: ${{ gitea.actor }} testing eBlake2
on: [push, workflow_dispatch]
jobs:
tests:
runs-on: linux_amd64
steps:
- name: Check out repository code
uses: actions/checkout@v3
- name: test
run: |
. /opt/act_runner/erts/27.2/activate
./rebar3 compile
./rebar3 dialyzer
./rebar3 eunit
./rebar3 ct
+1 -1
View File
@@ -7,7 +7,7 @@ _*
*.swp *.swp
*.swo *.swo
.erlang.cookie .erlang.cookie
ebin ebin/*.beam
log log
erl_crash.dump erl_crash.dump
.rebar .rebar
+1
View File
@@ -0,0 +1 @@
{"src/*", [debug_info, {i, "include/"}, {outdir, "ebin/"}]}.
+7
View File
@@ -0,0 +1,7 @@
{application,eblake2,
[{description,"A pure Erlang Blake2 implementation"},
{registered,[]},
{included_applications,[]},
{applications,[stdlib,kernel]},
{vsn,"1.0.1"},
{modules,[eblake2,eblake2_tests]}]}.
+11 -3
View File
@@ -4,9 +4,17 @@
{plugins, [rebar3_hex]}. {plugins, [rebar3_hex]}.
{profiles, [{test, [{deps, [{jsx, {git, "https://github.com/talentdeficit/jsx.git", {tag, "2.8.0"}}}, {profiles,
{enacl, {git, "https://github.com/aeternity/enacl.git", {ref, "a3d010b"}}}]}]} [{test,
]}. [{deps,
[{jsx,
{git,
"https://github.com/talentdeficit/jsx.git",
{tag, "2.8.0"}}},
{enacl,
{git,
"https://git.qpq.swiss/QPQ-AG/enacl.git",
{ref, "4eb7ec70084ba7c87b1af8797c4c4e90c84f95a2"}}}]}]}]}.
{xref_checks, [undefined_function_calls, undefined_functions, {xref_checks, [undefined_function_calls, undefined_functions,
locals_not_used, deprecated_function_calls, deprecated_functions]}. locals_not_used, deprecated_function_calls, deprecated_functions]}.
+1
View File
@@ -0,0 +1 @@
[].
Executable
BIN
View File
Binary file not shown.
+1 -1
View File
@@ -1,6 +1,6 @@
{application, eblake2, {application, eblake2,
[{description, "A pure Erlang Blake2 implementation"}, [{description, "A pure Erlang Blake2 implementation"},
{vsn, "1.0.0"}, {vsn, "1.0.1"},
{registered, []}, {registered, []},
{applications, {applications,
[kernel, [kernel,
+1
View File
@@ -5,6 +5,7 @@
%%% @end %%% @end
%%%============================================================================= %%%=============================================================================
-module(eblake2). -module(eblake2).
-vsn("1.0.1").
%% API exports %% API exports
-export([ blake2b/2 -export([ blake2b/2
+17
View File
@@ -0,0 +1,17 @@
{name,"eBlake2"}.
{type,lib}.
{modules,[]}.
{prefix,none}.
{author,"Hans Svensson"}.
{desc,"A pure Erlang Blake2 implementation"}.
{package_id,{"otpr","eblake2",{1,0,1}}}.
{deps,[]}.
{key_name,none}.
{a_email,[]}.
{c_email,[]}.
{copyright,"Hans Svensson"}.
{file_exts,[]}.
{license,skip}.
{repo_url,"https://git.qpq.swiss/QPQ-AG/eblake2"}.
{tags,["gajumaru","hash","btc","blockchain","crypto","eth","gaju"]}.
{ws_url,[]}.