mirror of
https://github.com/zapstore/zapstore.git
synced 2026-10-06 04:58:23 +00:00
Add GitHub Actions workflow for reproducible APK proof, enabling automated verification of build reproducibility using Docker. This includes steps for checking out the repository, running scripts, and uploading artifacts.
This commit is contained in:
@@ -0,0 +1,41 @@
|
||||
name: Reproducible APK Proof
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
repro:
|
||||
runs-on: ubuntu-22.04
|
||||
timeout-minutes: 90
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Show runner info
|
||||
run: |
|
||||
uname -a
|
||||
lscpu | sed -n '1,30p'
|
||||
docker version
|
||||
docker info | sed -n '1,80p'
|
||||
|
||||
- name: Make scripts executable
|
||||
run: |
|
||||
chmod +x repro/prove_repro.sh || true
|
||||
chmod +x repro/build_in_container.sh || true
|
||||
|
||||
- name: Run reproducibility proof (Docker)
|
||||
run: |
|
||||
bash repro/prove_repro.sh
|
||||
|
||||
- name: Upload artifacts (.repro_out)
|
||||
if: always()
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: repro-out-${{ github.sha }}
|
||||
path: .repro_out
|
||||
if-no-files-found: warn
|
||||
Reference in New Issue
Block a user