-
Notifications
You must be signed in to change notification settings - Fork 76
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
base: develop-pros-3
Are you sure you want to change the base?
Conversation
runs-on: ubuntu-latest | ||
|
||
env: | ||
TOOLCHAIN_UPDATE: 10.3-2021.10 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
uses: actions/checkout@v2 | |
uses: actions/checkout@v4 |
- name: Set up Python | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: '3.9' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
python-version: '3.9' | |
python-version: '3.9' | |
cache: 'pip' |
Summary:
Motivation:
References (optional):
Test Plan: