Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

👷Migrate to github actions #678

Open
wants to merge 22 commits into
base: develop-pros-3
Choose a base branch
from
Open

👷Migrate to github actions #678

wants to merge 22 commits into from

Conversation

noam987
Copy link
Contributor

@noam987 noam987 commented Jun 7, 2024

Summary:

Motivation:

References (optional):

Test Plan:

  • test item

@noam987 noam987 marked this pull request as ready for review November 15, 2024 17:23
runs-on: ubuntu-latest

env:
TOOLCHAIN_UPDATE: 10.3-2021.10
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
TOOLCHAIN_UPDATE: 10.3-2021.10
TOOLCHAIN_UPDATE: 13.3.rel1

PROS uses v13.3rel1 since #703.

- name: Install gcc-arm-embedded
if: steps.cache-gcc.outputs.cache-hit != 'true'
run: |
curl -LSso toolchain.tar.bz2 "https://developer.arm.com/-/media/Files/downloads/gnu-rm/${TOOLCHAIN_UPDATE}/gcc-arm-none-eabi-${TOOLCHAIN_UPDATE}-x86_64-linux.tar.bz2"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
curl -LSso toolchain.tar.bz2 "https://developer.arm.com/-/media/Files/downloads/gnu-rm/${TOOLCHAIN_UPDATE}/gcc-arm-none-eabi-${TOOLCHAIN_UPDATE}-x86_64-linux.tar.bz2"
curl -LSso toolchain.tar.xz "https://developer.arm.com/-/media/Files/downloads/gnu/${TOOLCHAIN_UPDATE}/binrel/arm-gnu-toolchain-${TOOLCHAIN_UPDATE}-x86_64-arm-none-eabi.tar.xz"

if: steps.cache-gcc.outputs.cache-hit != 'true'
run: |
curl -LSso toolchain.tar.bz2 "https://developer.arm.com/-/media/Files/downloads/gnu-rm/${TOOLCHAIN_UPDATE}/gcc-arm-none-eabi-${TOOLCHAIN_UPDATE}-x86_64-linux.tar.bz2"
tar -xjvf toolchain.tar.bz2
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
tar -xjvf toolchain.tar.bz2
tar -xJvf toolchain.tar.xz

with:
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}
- name: Checkout code
uses: actions/checkout@v2
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.9'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
python-version: '3.9'
python-version: '3.9'
cache: 'pip'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants