Skip to content

Merge branch 'sonic-otn:otn_pre_202411' into otn_pre_202411 #6

Merge branch 'sonic-otn:otn_pre_202411' into otn_pre_202411

Merge branch 'sonic-otn:otn_pre_202411' into otn_pre_202411 #6

name: 202411-ot-vs-build
on:
push:
branches: [ "otn_pre_202411" ]
pull_request:
branches: [ "otn_pre_202411" ]
workflow_dispatch:
concurrency:
group: ${{ github.ref }}
cancel-in-progress: false
jobs:
build:
runs-on: sonic-otn-server
steps:
- uses: actions/checkout@v3
with:
path: 202411_ot_${{github.run_number}}
- name: build
run: |
cd 202411_ot_${{github.run_number}}
make init
make configure PLATFORM=ot-vs
make SONIC_BUILD_JOBS=8 target/sonic-ot-vs.img.gz
- name: 'Upload Artifact'
uses: actions/upload-artifact@v3
with:
name: otn-202411-artifact
path: |
202411_ot_${{github.run_number}}/sonic-installer.img
202411_ot_${{github.run_number}}/target/*.img.gz