Skip to content

Commit

Permalink
github/workflows/ports_unix.yml: Add job for a reproducible build.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
titouanc authored and dpgeorge committed Feb 1, 2021
1 parent 4fb5f01 commit b8f5f5c
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/ports_unix.yml
Expand Up @@ -26,6 +26,17 @@ jobs:
if: failure()
run: tests/run-tests --print-failures

reproducible:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Build with reproducible date
run: source tools/ci.sh && ci_unix_minimal_build
env:
SOURCE_DATE_EPOCH: 1234567890
- name: Check reproducible build date
run: echo | ports/unix/micropython-minimal -i | grep 'on 2009-02-13;'

standard:
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit b8f5f5c

Please sign in to comment.