dymokomi/luce-auth
Source of release 0.6.1
0.6.1 / .github / workflows / correctness.yml
name: Native authentication correctness
on:
push:
pull_request:
workflow_dispatch:
permissions:
contents: read
jobs:
correctness:
strategy:
fail-fast: false
matrix:
os: [ubuntu-24.04, macos-15]
runs-on: ${{ matrix.os }}
# Linux generated-C crypto/vault coverage is intentionally exhaustive and
# can exceed 30 minutes on a cold hosted runner. Keep a bounded job timeout
# without cancelling already-passing correctness steps near completion.
timeout-minutes: 60
steps:
- uses: actions/checkout@v4
with:
path: luce-auth
- uses: actions/checkout@v4
with:
repository: dymokomi/luce-base
path: luce-base
# every dependency at main, beside this checkout (luce-base docs/CI.md)
- name: Check out dependencies at main
shell: bash
working-directory: ${{ github.workspace }}
run: |
python3 luce-base/tools/checkout_main.py luce-auth luce
- uses: actions/setup-python@v5
with:
python-version: '3.14'
- name: Bootstrap into package build directory
working-directory: luce-auth
run: python3 tools/bootstrap.py
- name: Test all six compiler modes
working-directory: luce-auth
shell: bash
run: |
set -o pipefail
python3 tests/run.py --mode all 2>&1 | tee build/correctness.log
- name: Native authentication memory safety
working-directory: luce-auth
shell: bash
run: |
set -o pipefail
python3 tests/sanitize.py --base build/toolchain/luce-base 2>&1 | tee build/sanitize.log
- name: Full-cost password hashing contention
working-directory: luce-auth
shell: bash
run: |
set -o pipefail
python3 tests/admission_modes.py 2>&1 | tee build/admission-modes.log
- name: Native macOS leak detection
if: runner.os == 'macOS'
working-directory: luce-auth
shell: bash
run: |
set -o pipefail
python3 tests/heap.py 2>&1 | tee build/heap.log
- name: Test timeout descendant cleanup
if: always()
working-directory: luce-auth
run: python3 tests/test_heap_process.py
- uses: actions/upload-artifact@v4
if: always()
with:
name: authentication-tests-${{ matrix.os }}
path: |
luce-auth/build/correctness.log
luce-auth/build/sanitize.log
luce-auth/build/heap.log
luce-auth/build/admission-modes.log