Skip to content

[debuging]

[debuging] #1898

name: Continuous Integration & Deployment
on:
workflow_dispatch:
push:
jobs:
another_test:
runs-on: ubuntu-latest
steps:
- run: |
which python
python -V
python -m pip install pytest
container:
image: docker://ghcr.io/ledgerhq/speculos-builder:latest
working:
runs-on: ubuntu-latest
container:
image: python:3.10-slim
steps:
- run: python
not_working:
runs-on: ubuntu-latest
container:
image: python:3.10-slim
steps:
- uses: actions/setup-python@v5
with:
python-version: "3.10"
- run: python
build:
name: Clone, build, test
runs-on: ubuntu-latest
container:
image: docker://ghcr.io/ledgerhq/speculos-builder:latest
steps:
- name: Clone
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Python version
uses: actions/setup-python@v5
with:
python-version: "3.10"
- name: Build and install package
run: |
which python
python -V
pip install pytest
echo ----
cmake -Bbuild -H. -DPRECOMPILED_DEPENDENCIES_DIR=/install -DWITH_VNC=1
echo ----
make -C build
echo ----
pip install .
echo ----
- name: Test
env:
CTEST_OUTPUT_ON_FAILURE: 1
run: |
make -C build/ test
pytest