File tree 2 files changed +41
-2
lines changed
2 files changed +41
-2
lines changed Original file line number Diff line number Diff line change 1
1
---
2
- name : Check that binaries are reproducible
2
+ name : Check that binaries are reproducible (MacOS)
3
3
on :
4
4
push :
5
5
pull_request :
9
9
check_hashes :
10
10
strategy :
11
11
matrix :
12
- os : [ubuntu-18.04, macos-10.15]
12
+ os : [macos-10.15]
13
13
runs-on : ${{ matrix.os }}
14
14
steps :
15
15
- uses : actions/checkout@v2
Original file line number Diff line number Diff line change
1
+ ---
2
+ name : Check that binaries are reproducible (Ubuntu)
3
+ on :
4
+ push :
5
+ pull_request :
6
+ types : [opened, synchronize, reopened]
7
+
8
+ jobs :
9
+ check_hashes :
10
+ strategy :
11
+ matrix :
12
+ os : [ubuntu-18.04]
13
+ runs-on : ${{ matrix.os }}
14
+ steps :
15
+ - uses : actions/checkout@v2
16
+ - uses : actions-rs/toolchain@v1
17
+ with :
18
+ target : thumbv7em-none-eabi
19
+ - uses : actions/setup-python@v1
20
+ with :
21
+ python-version : 3.7
22
+ - name : Install Python dependencies
23
+ run : python -m pip install --upgrade pip setuptools wheel
24
+ - name : Set up OpenSK
25
+ run : ./setup.sh
26
+
27
+ - name : Use sample cryptographic material
28
+ run : rm -R crypto_data/ && cp -r reproducible/sample_crypto_data crypto_data
29
+ - name : Computing cryptographic hashes
30
+ run : ./reproduce_hashes.sh
31
+
32
+ - name : Upload reproduced binaries
33
+ uses : actions/upload-artifact@v1
34
+ with :
35
+ name : reproduced-${{ matrix.os }}
36
+ path : reproducible/reproduced.tar
37
+
38
+ - name : Comparing cryptographic hashes
39
+ run : git diff --no-index reproducible/reference_binaries_${{ matrix.os }}.sha256sum reproducible/binaries.sha256sum
You can’t perform that action at this time.
0 commit comments