Files
Pol Henarejos 0227ae8833 Preserve compatible resident credential containers
Keep legacy flash and prior container roots readable without migration, cache resident metadata and public keys and preserve silent credential discovery across restarts.

Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
2026-07-26 20:09:16 +02:00

57 lines
1.6 KiB
YAML

# For most projects, this workflow file will not need changing; you simply need
# to commit it to your repository.
#
# You may wish to alter this file to override the set of languages analyzed,
# or to provide custom queries or build logic.
#
# ******** NOTE ********
# We have attempted to detect the languages in your repository. Please check
# the `language` matrix defined below to confirm you have the correct set of
# supported CodeQL languages.
#
name: "Emulation and test"
on:
push:
branches: [ "main", "development", "eddsa" ]
pull_request:
# The branches below must be a subset of the branches above
branches: [ "main", "development", "eddsa" ]
schedule:
- cron: '23 5 * * 4'
workflow_dispatch:
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- name: Checkout repository and submodules
uses: actions/checkout@v6
with:
submodules: recursive
persist-credentials: false
- name: Checkout legacy firmware and submodules
uses: actions/checkout@v6
with:
ref: 43cf570ac3ba4ad8a40685d4bf2c7ccb8d43b2fa
path: legacy
submodules: recursive
persist-credentials: false
- name: Build in container
run: ./tests/build-in-docker.sh
- name: Build legacy emulator in container
run: ./tests/build-legacy-in-docker.sh
- name: Start emulation and test
run: ./tests/run-test-in-docker.sh
- name: Test legacy flash compatibility
run: ./tests/run-test-041-in-docker.sh
- name: Test silent authentication after restart
run: ./tests/run-test-042-in-docker.sh