2022-11-11 07:40:04 -05:00
|
|
|
name: Main workflow
|
|
|
|
|
|
|
|
on:
|
|
|
|
pull_request:
|
|
|
|
push:
|
|
|
|
schedule:
|
|
|
|
# Prime the caches every Monday
|
|
|
|
- cron: 0 1 * * MON
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
strategy:
|
|
|
|
fail-fast: false
|
|
|
|
matrix:
|
|
|
|
os:
|
|
|
|
- ubuntu-latest
|
|
|
|
|
|
|
|
runs-on: ${{ matrix.os }}
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: Checkout code
|
2024-10-17 07:37:12 -04:00
|
|
|
uses: actions/checkout@v4
|
2022-11-11 07:40:04 -05:00
|
|
|
|
2023-12-26 05:12:06 -05:00
|
|
|
- run: ./build-with.sh docker
|
2022-11-11 08:32:31 -05:00
|
|
|
|
2024-10-17 02:09:35 -04:00
|
|
|
- run: sh -exc 'if [ "$(sha256sum dist/qubes-firewall.xen)" = "$(cat qubes-firewall.sha256)" ]; then echo "SHA256 MATCHES"; else exit 42; fi'
|
2022-11-13 09:58:00 -05:00
|
|
|
|
2022-11-13 06:22:59 -05:00
|
|
|
- name: Upload Artifact
|
|
|
|
uses: actions/upload-artifact@v3
|
|
|
|
with:
|
2024-10-17 02:21:49 -04:00
|
|
|
name: qubes-firewall.xen
|
|
|
|
path: qubes-firewall.xen
|