Skip to content

Commit

Permalink
[ci] Add codebuild
Browse files Browse the repository at this point in the history
Signed-off-by: Florian Zaruba <[email protected]>
  • Loading branch information
zarubaf committed Oct 6, 2023
1 parent 580ea6f commit 157df56
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/aws.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: aws
on: push

# on:
# push:
# branches:
# - 'dev'

jobs:
aws:
name: AWS Pipeline (private)
if: github.actor == 'davideschiavone' || github.actor == 'MikeOpenHWGroup' || github.actor == 'zarubaf'
runs-on: ubuntu-latest
# These permissions are needed to interact with GitHub's OIDC Token endpoint.
permissions:
id-token: write
contents: read
steps:
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v4
with:
role-to-assume: ${{ secrets.AWS_ROLE_TO_ASSUME }}
aws-region: eu-west-1
- name: Run AWS Pipeline
uses: aws-actions/aws-codebuild-run-build@v1
with:
project-name: core-v-verif
hide-cloudwatch-logs: false
8 changes: 8 additions & 0 deletions buildspec.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
version: 0.2

phases:

build:
commands:
- chown -R florian:florian .
- su florian -c "source /synopsys/scripts/env.sh; echo $PATH"

0 comments on commit 157df56

Please sign in to comment.