Merge pull request #514 from jrvanwhy/inherit-rust-version #122
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: Artifacts | |
on: | |
push: | |
branches: [master] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Install dependencies | |
run: | | |
cargo install elf2tab | |
- name: Build LEDs | |
run: | | |
make -j2 EXAMPLE=leds apollo3 | |
make -j2 EXAMPLE=leds hail | |
make -j2 EXAMPLE=leds imix | |
make -j2 EXAMPLE=leds nucleo_f429zi | |
make -j2 EXAMPLE=leds nucleo_f446re | |
make -j2 EXAMPLE=leds nrf52840 | |
make -j2 EXAMPLE=leds opentitan | |
make -j2 EXAMPLE=leds hifive1 | |
make -j2 EXAMPLE=leds nrf52 | |
- name: Build Low Level Debug | |
run: | | |
make -j2 EXAMPLE=low_level_debug apollo3 | |
make -j2 EXAMPLE=low_level_debug hail | |
make -j2 EXAMPLE=low_level_debug imix | |
make -j2 EXAMPLE=low_level_debug nucleo_f429zi | |
make -j2 EXAMPLE=low_level_debug nucleo_f446re | |
make -j2 EXAMPLE=low_level_debug nrf52840 | |
make -j2 EXAMPLE=low_level_debug opentitan | |
make -j2 EXAMPLE=low_level_debug hifive1 | |
make -j2 EXAMPLE=low_level_debug nrf52 | |
- name: Archive artifacts | |
uses: actions/upload-artifact@v3 | |
with: | |
name: libtock-rs examples | |
path: target/tbf |