Skip to content

Use AsPython to install upgrades instead of powershell #14

Use AsPython to install upgrades instead of powershell

Use AsPython to install upgrades instead of powershell #14

Workflow file for this run

# This workflow will run build an AS project and publish the libraries to the github package registry
name: Build Libraries
on:
push:
branches-ignore:
- 'main'
jobs:
build-libraries:
runs-on: [AS411]
permissions:
contents: read
packages: write
steps:
- uses: actions/checkout@v4
with:
submodules: 'true'
path: "main"
lfs: true
- name: Fix LFS
run: |
cd ./main
git lfs pull
- name: Install AS upgrades
run: python.exe C:/Tools/AsPython/InstallUpgrades.py ./main/upgrades -asp AS411 -r
- name: Build project
run: python.exe C:/Tools/AsPython/CmdLineBuild.py ./main/example/AsProject/AsProject.apj -c Intel ARM -bm Rebuild -sim --logLevel DEBUG
- name: Export libraries
run: python.exe C:/Tools/AsPython/CmdLineExportLib.py ./main/example/AsProject/AsProject.apj -dest ./libs -c Intel ARM -wl vartools -l DEBUG -o -bm "None"