Skip to content

Commit

Permalink
New approach to the weekly CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Nadrieril committed Nov 13, 2024
1 parent 91a3659 commit ca147c5
Showing 1 changed file with 55 additions and 0 deletions.
55 changes: 55 additions & 0 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
on:
push:
workflow_dispatch:

jobs:
hax:
runs-on: [self-hosted, linux, nix]
steps:
- name: checkout
uses: actions/checkout@v4
- run: nix build -L --no-link ".#hax"
charon:
runs-on: [self-hosted, linux, nix]
steps:
- name: checkout
uses: actions/checkout@v4
- run: nix build -L --no-link ".#charon"
eurydice:
runs-on: [self-hosted, linux, nix]
steps:
- name: checkout
uses: actions/checkout@v4
- run: nix build -L --no-link ".#eurydice"
ml-kem:
runs-on: [self-hosted, linux, nix]
steps:
- name: checkout
uses: actions/checkout@v4
- run: nix build -L --no-link ".#ml-kem"
bertie:
runs-on: [self-hosted, linux, nix]
steps:
- name: checkout
uses: actions/checkout@v4
- run: nix build -L --no-link ".#bertie"

success:
needs: [hax, charon, eurydice, ml-kem, bertie]
if: success()
steps:
- run: |
echo "yay"
failure:
needs: [hax, charon, eurydice, ml-kem, bertie]
if: failure()
steps:
- run: |
echo "hax: ${{ needs.hax.result }}"
echo "charon: ${{ needs.charon.result }}"
echo "eurydice: ${{ needs.eurydice.result }}"
echo "ml-kem: ${{ needs.ml-kem.result }}"
echo "bertie: ${{ needs.bertie.result }}"

0 comments on commit ca147c5

Please sign in to comment.