Skip to content

Commit

Permalink
add build target platform vs and ot-vs
Browse files Browse the repository at this point in the history
  • Loading branch information
sonic-otn committed Apr 30, 2024
1 parent d6ff633 commit 0b80a46
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 0 deletions.
File renamed without changes.
36 changes: 36 additions & 0 deletions .github/workflows/sonic-otn-vs-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: ot-pre-202411-vs-build

Check failure on line 1 in .github/workflows/sonic-otn-vs-build.yml

View workflow job for this annotation

GitHub Actions / build

.github/workflows/sonic-otn-vs-build.yml#L1

This run was manually canceled.

on:
push:
branches: [ "otn_pre_202411" ]
pull_request:
branches: [ "otn_pre_202411" ]
workflow_dispatch:

concurrency:
group: ${{ github.ref }}
cancel-in-progress: true

jobs:
build:
runs-on: sonic-otn-server

steps:
- uses: actions/checkout@v3
with:
path: 202411_${{github.run_number}}

- name: build
run: |
cd 202411_${{github.run_number}}
make init
make configure PLATFORM=vs
make SONIC_BUILD_JOBS=8 target/sonic-vs.img.gz
- name: 'Upload Artifact'
uses: actions/upload-artifact@v3
with:
name: otn-202411-artifact
path: |
202411_${{github.run_number}}/sonic-installer.img
202411_${{github.run_number}}/target/*.img.gz

0 comments on commit 0b80a46

Please sign in to comment.