8000 github/workflows/ports_unix.yml: Add job for a reproducible build. · micropython/micropython@b8f5f5c · GitHub
[go: up one dir, main page]

Skip to content

Commit b8f5f5c

Browse files
titouancdpgeorge
authored andcommitted
github/workflows/ports_unix.yml: Add job for a reproducible build.
With a check for reproducible build date. Invocation of the test suite is not needed because it's already run in another job. Signed-off-by: iTitou <moiandme@gmail.com>
1 parent 4fb5f01 commit b8f5f5c

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.github/workflows/ports_unix.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,17 @@ jobs:
2626
if: failure()
2727
run: tests/run-tests --print-failures
2828

29+
reproducible:
30+
runs-on: ubuntu-latest
31+
steps:
32+
- uses: actions/checkout@v2
33+
- name: Build with reproducible date
34+
run: source tools/ci.sh && ci_unix_minimal_build
35+
env:
36+
SOURCE_DATE_EPOCH: 1234567890
37+
- name: Check reproducible build date
38+
run: echo | ports/unix/micropython-minimal -i | grep 'on 2009-02-13;'
39+
2940
standard:
3041
runs-on: ubuntu-latest
3142
steps:

0 commit comments

Comments
 (0)
0