未验证 提交 47e6d982 编写于 作者: S Samuel Pelegrinello Caipers 提交者: GitHub

Update cortex_m_virtual_hardware.yml

* Replace AWS IAM User credentials with OIDC IAM Role. 
* Use avhclient v0.1.x instead pinned v.0.1.1

BUG=collaboration between TFLM and ARM.
上级 48bfdf68
......@@ -16,8 +16,6 @@ on:
env:
AWS_ACCESS_KEY_ID: ${{ secrets.ARM_AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.ARM_AWS_ACCESS_KEY_SECRET }}
AWS_DEFAULT_REGION: ${{ secrets.ARM_AWS_DEFAULT_REGION }}
AWS_S3_BUCKET_NAME: ${{ secrets.ARM_AWS_S3_BUCKET_NAME }}
AWS_IAM_PROFILE: ${{ secrets.ARM_AWS_IAM_PROFILE }}
......@@ -27,6 +25,9 @@ env:
jobs:
cortex_m_generic:
runs-on: ubuntu-latest
permissions:
id-token: write
contents: read
if: |
github.event_name == 'workflow_dispatch' ||
(github.event_name == 'schedule' && github.repository == 'tensorflow/tflite-micro')
......@@ -39,7 +40,12 @@ jobs:
python-version: '3.10'
- name: Install AVH Client for Python
run: |
pip install git+https://github.com/ARM-software/avhclient.git@v0.1.1
pip install git+https://github.com/ARM-software/avhclient.git@v0.1
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v1
with:
role-to-assume: arn:aws:iam::720528183931:role/Proj-vht-assume-role
aws-region: eu-west-1
- name: Execute test suite on Arm Virtual Hardware at AWS
run: |
avhclient -b aws execute --specfile ./tensorflow/lite/micro/tools/github/arm_virtual_hardware/cortex_m_generic_avh.yml
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册