Numworks-zeta-os/.github/workflows/makefile.yml
2024-04-21 14:14:28 +02:00

38 lines
644 B
YAML

name: Makefile CI
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
env:
RUN_IN_GITHUB_ACTION: TRUE
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: carlosperate/arm-none-eabi-gcc-action@v1
- name: clean
run: make clean
- name: build
run: make RUN_IN_GITHUB_ACTION=TRUE
- name: Archive elf file
uses: actions/upload-artifact@v4
with:
name: elf_file
path: build/main.elf
- name: Archive bin
uses: actions/upload-artifact@v4
with:
name: bin_file
path: build/main.bin