Skip to content

👷Migrate to github actions#678

Open
noam987 wants to merge 22 commits into
develop-pros-3from
github-actions
Open

👷Migrate to github actions#678
noam987 wants to merge 22 commits into
develop-pros-3from
github-actions

Conversation

@noam987

@noam987 noam987 commented Jun 7, 2024

Copy link
Copy Markdown
Contributor

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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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