Test CI failure #6
Workflow file for this run
This file contains 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: Package builds | |
on: [push, pull_request] | |
defaults: | |
run: | |
shell: bash | |
jobs: | |
verify-builder-sync: | |
runs-on: ubuntu-latest | |
container: debian:bullseye | |
steps: | |
- run: | | |
apt-get update && apt-get install --yes git git-lfs sudo make | |
- uses: actions/checkout@v4 | |
- uses: actions/checkout@v4 | |
with: | |
repository: "freedomofpress/securedrop-builder" | |
path: "securedrop-builder" | |
lfs: true | |
- name: Install dependencies | |
run: | | |
cd securedrop-builder | |
make install-deps | |
- name: Check differences | |
run: | | |
source ./securedrop-builder/.venv/bin/activate | |
PKG_DIR=../client make -C securedrop-builder requirements | |
PKG_DIR=../export make -C securedrop-builder requirements | |
PKG_DIR=../log make -C securedrop-builder requirements | |
PKG_DIR=../proxy make -C securedrop-builder requirements | |
git config --global --add safe.directory "$GITHUB_WORKSPACE" | |
git diff --ignore-matching-lines=# --exit-code | |
build-debs: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/checkout@v4 | |
with: | |
repository: "freedomofpress/securedrop-builder" | |
path: "securedrop-builder" | |
lfs: true | |
- name: Build bullseye packages | |
run: | | |
DEBIAN_VERSION=bullseye BUILDER=securedrop-builder ./scripts/build-debs.sh | |
mv build build-bullseye | |
- name: Build bookworm packages | |
run: | | |
DEBIAN_VERSION=bookworm BUILDER=securedrop-builder ./scripts/build-debs.sh | |
mv build build-bookworm | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: build-bullseye | |
path: build-bullseye | |
if-no-files-found: error | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: build-bookworm | |
path: build-bookworm | |
if-no-files-found: error |