This repository has been archived by the owner on Oct 24, 2024. It is now read-only.
Update README.md #36
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
name: Build libshiftavr | |
on: | |
push: | |
branches: [ "master" ] | |
pull_request: | |
branches: [ "master" ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout the repository | |
uses: actions/checkout@v3 | |
- name: setup-avr-toolchain | |
run: chmod +rwx ./launch-sandbox-setup.sh && ./launch-sandbox-setup.sh | |
- name: compile-link-assemble libshiftavr | |
run: chmod +rwx ./helper-scripts/project-impl/compile-all.sh && ./helper-scripts/project-impl/compile-all.sh | |
- name: compile-link-assemble shiftavr-examples/src/hello_uart.c | |
run: | | |
chmod +rwx ./helper-scripts/project-impl/compile-examples.sh | |
./helper-scripts/project-impl/compile-examples.sh atmega32 hello_uart.c | |
./helper-scripts/project-impl/compile-examples.sh atmega328p hello_uart.c | |
- name: compile-link-assemble shiftavr-examples/src/hello_adc.c | |
run: | | |
chmod +rwx ./helper-scripts/project-impl/compile-examples.sh | |
./helper-scripts/project-impl/compile-examples.sh atmega32 hello_adc.c | |
./helper-scripts/project-impl/compile-examples.sh atmega328p hello_adc.c |