diff --git a/.github/workflows/ceedling.yaml b/.github/workflows/ceedling.yaml index 78291da..76ccb1d 100644 --- a/.github/workflows/ceedling.yaml +++ b/.github/workflows/ceedling.yaml @@ -2,7 +2,7 @@ name: Ceedling Unit Tests on: push: - branches: [ master ] + branches: [ master,anan_zephyr_test ] pull_request: branches: [ master ] @@ -12,20 +12,34 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - name: Set up Ruby - uses: ruby/setup-ruby@v1 + - name: Checkout + uses: actions/checkout@v3 + with: + path: ucxclient + + - name: Set up Python + uses: actions/setup-python@v4 with: - ruby-version: 2.7 - - name: Install Ceedling - run: gem install ceedling - - name: Run Unit Tests + python-version: 3.11 + + - name: Copy west.yaml + shell: bash run: | - ceedling test:all - - name: Process Test results - uses: dorny/test-reporter@v1 - if: always() # always run even if the previous step fails + ls ucxclient + cp ucxclient/zephyr/west.yml ucxclient/ + + - name: Setup Zephyr project + uses: zephyrproject-rtos/action-zephyr-setup@v1 with: - name: Unit Test Results - path: 'build/artifacts/test/report_junit.xml' - reporter: jest-junit + app-path: ucxclient + toolchains: x86_64-zephyr-elf + + - name: Build firmware + working-directory: ucxclient/ + shell: bash + run: | + pwd + ls -a + echo "next" + ls -a .. + west build -b qemu_x86 zephyr/http_example diff --git a/zephyr/west.yml b/zephyr/west.yml new file mode 100644 index 0000000..fee53a3 --- /dev/null +++ b/zephyr/west.yml @@ -0,0 +1,14 @@ +manifest: + self: + west-commands: scripts/west-commands.yml + + remotes: + - name: zephyrproject-rtos + url-base: https://github.com/zephyrproject-rtos + + projects: + - name: zephyr + remote: zephyrproject-rtos + revision: main + #import: + # name-allowlist: []