Skip to content

Avoid having to copy .git folder and allow install-deps to not error … #8

Avoid having to copy .git folder and allow install-deps to not error …

Avoid having to copy .git folder and allow install-deps to not error … #8

Workflow file for this run

name: CI
on:
push:
branches: [ add-devcontainer ]
workflow_dispatch:
jobs:
container-test-job:
runs-on: ubuntu-latest
container:
image: mcr.microsoft.com/devcontainers/base:bullseye
volumes:
- .:/iot-hub-device-update
options: --cpus 1
steps:
- name: Checkout
uses: actions/checkout@v4
- name: troubleshoot
run: |
uname -a
ls -al
pwd
- name: Setup
run: |
apt-get update
scripts/install-deps.sh --install-aduc-deps --install-do --install-cmake --install-shellcheck --work-folder /iot-hub-device-update
- name: Build tests
run: scripts/build.sh --clean --build-unit-tests
- name: Run tests
run: |
cd out
ctest