-
Notifications
You must be signed in to change notification settings - Fork 1
61 lines (52 loc) · 1.29 KB
/
blake2s.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
name: BLAKE2S CI
on:
push:
branches: [ trunk ]
pull_request:
branches: [ trunk ]
jobs:
ubuntu:
runs-on: ubuntu-20.04
env:
TZ: UTC
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Install Dependencies
run: >
sudo apt-get update &&
sudo apt-get install adacontrol gnat gprbuild libdb5.3-dev
- name: Build AST NMAKE
run: |
git clone https://github.com/lkujaw/ast.git
pushd ast
./bin/package flat make
rm -f ./bin/ar
popd
- name: Report (AdaControl)
run: |
export PATH="${PWD}/ast/bin:$PATH"
nmake adactl
pushd gnat
nmake adactl
nmake clobber
popd
- name: Build
run: |
export PATH="${PWD}/ast/bin:$PATH"
pushd gnat
nmake
nmake clobber
popd
gprbuild -v -p blake2s.gpr \
-XBLAKE2S_COMPILE_CHECKS=enabled \
-XBLAKE2S_STYLE_CHECKS=enabled
gprclean -p blake2s.gpr
gprbuild -v -p b2ssum.gpr \
-XB2SSUM_COMPILE_CHECKS=enabled \
-XB2SSUM_STYLE_CHECKS=enabled
gprclean -p b2ssum.gpr
- name: Test
run: |
export PATH="${PWD}/ast/bin:$PATH"
cd gnat && nmake test