Skip to content

Commit

Permalink
Install ARM GCC from PPA for automatic release
Browse files Browse the repository at this point in the history
  • Loading branch information
dpkoch committed Mar 12, 2020
1 parent c815c8a commit 8dd8cbd
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 20 deletions.
16 changes: 6 additions & 10 deletions .github/workflows/pre-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,19 +16,15 @@ jobs:
- name: clone
run: git submodule update --init --recursive
- name: install toolchain
run: curl --retry 10 --retry-max-time 120 -L "https://launchpad.net/gcc-arm-embedded/5.0/5-2016-q1-update/+download/gcc-arm-none-eabi-5_3-2016q1-20160330-linux.tar.bz2" | tar xfj -
- name: check toolchain
run: |
export PATH=$PATH:$PWD/gcc-arm-none-eabi-5_3-2016q1/bin
arm-none-eabi-gcc --version
sudo add-apt-repository -y -u ppa:team-gcc-arm-embedded/ppa
sudo apt -y install gcc-arm-embedded
- name: check toolchain
run: arm-none-eabi-gcc --version
- name: make_f4
run: |
export PATH=$PATH:$PWD/gcc-arm-none-eabi-5_3-2016q1/bin
make BOARD=REVO -j4 -l4
run: make BOARD=REVO -j4 -l4
- name: make_f1
run: |
export PATH=$PATH:$PWD/gcc-arm-none-eabi-5_3-2016q1/bin
make BOARD=NAZE -j4 -l4
run: make BOARD=NAZE -j4 -l4

- uses: "marvinpinto/action-automatic-releases@latest"
with:
Expand Down
16 changes: 6 additions & 10 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,19 +16,15 @@ jobs:
- name: clone
run: git submodule update --init --recursive
- name: install toolchain
run: curl --retry 10 --retry-max-time 120 -L "https://launchpad.net/gcc-arm-embedded/5.0/5-2016-q1-update/+download/gcc-arm-none-eabi-5_3-2016q1-20160330-linux.tar.bz2" | tar xfj -
- name: check toolchain
run: |
export PATH=$PATH:$PWD/gcc-arm-none-eabi-5_3-2016q1/bin
arm-none-eabi-gcc --version
sudo add-apt-repository -y -u ppa:team-gcc-arm-embedded/ppa
sudo apt -y install gcc-arm-embedded
- name: check toolchain
run: arm-none-eabi-gcc --version
- name: make_f4
run: |
export PATH=$PATH:$PWD/gcc-arm-none-eabi-5_3-2016q1/bin
make BOARD=REVO -j4 -l4
run: make BOARD=REVO -j4 -l4
- name: make_f1
run: |
export PATH=$PATH:$PWD/gcc-arm-none-eabi-5_3-2016q1/bin
make BOARD=NAZE -j4 -l4
run: make BOARD=NAZE -j4 -l4

- uses: "marvinpinto/action-automatic-releases@latest"
with:
Expand Down

0 comments on commit 8dd8cbd

Please sign in to comment.