forked from Optiboot/optiboot
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add workflow to compile against Microchip AVR8 GNU toolchain
- Loading branch information
marcel hecko
committed
Dec 22, 2022
1 parent
e03d5d1
commit 6189777
Showing
4 changed files
with
41 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
name: "All Arduino Microchip 3.7.0" | ||
on: | ||
push: | ||
branches: | ||
- "mc" | ||
workflow_dispatch: | ||
schedule: | ||
- cron: '0 5 * * *' # Daily at 5:00 UTC | ||
|
||
jobs: | ||
build-latest: | ||
runs-on: ubuntu-latest | ||
container: | ||
image: debian:11 | ||
steps: | ||
- name: Install Microchip version of GCC toolchain | ||
run: | | ||
apt-get update | ||
apt-get install -y unzip wget git make | ||
mkdir -p /opt/atpack | ||
cd /opt | ||
wget https://ww1.microchip.com/downloads/aemDocuments/documents/DEV/ProductDocuments/SoftwareTools/avr8-gnu-toolchain-3.7.0.1796-linux.any.x86_64.tar.gz | ||
tar xzfv avr8-gnu-toolchain-3.7.0.1796-linux.any.x86_64.tar.gz | ||
cd /opt/atpack | ||
wget http://packs.download.atmel.com/Atmel.ATmega_DFP.2.0.401.atpack | ||
unzip Atmel.ATmega_DFP.2.0.401.atpack | ||
- name: Checkout the repository | ||
uses: actions/checkout@v3 | ||
- name: Make the target | ||
run: | | ||
cd optiboot/bootloaders/optiboot | ||
export PATH="/opt/avr8-gnu-toolchain-linux_x86_64/bin/:$PATH" | ||
chmod +x ./makeall.everycpu.sh | ||
./makeall.everycpu.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters