Update reprotest.yml #17
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Reproducibility test | |
| on: [push, pull_request] | |
| jobs: | |
| reprotest: | |
| name: Reproducibility test | |
| runs-on: ubuntu-24.04 | |
| defaults: | |
| run: | |
| shell: bash | |
| steps: | |
| - name: Setup | |
| run: | | |
| sudo apt update | |
| sudo apt install --no-install-recommends -y libssl-dev pkg-config disorderfs faketime locales-all reprotest | |
| test -c /dev/fuse || mknod -m 666 /dev/fuse c 10 229 | |
| test -f /etc/mtab || ln -s ../proc/self/mounts /etc/mtab | |
| curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sudo sh -s -- -y --default-toolchain none | |
| echo "/root/.cargo/bin" >> $GITHUB_PATH | |
| - uses: actions/checkout@v2 | |
| with: | |
| submodules: recursive | |
| - name: Install tools | |
| run: | | |
| sudo cargo install just | |
| - name: Reprotest | |
| run: | | |
| sudo -i reprotest --vary=-user_group --build-command 'just npm ci; just npm run build; cargo build --all-features --release' . target/release/warpgate |