Numworks-zeta-os/.github/workflows/makefile.yml

38 lines
644 B
YAML
Raw Normal View History

2024-04-02 16:14:05 +00:00
name: Makefile CI
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
2024-04-02 16:29:50 +00:00
env:
RUN_IN_GITHUB_ACTION: TRUE
2024-04-02 16:14:05 +00:00
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
2024-04-02 16:16:30 +00:00
- uses: carlosperate/arm-none-eabi-gcc-action@v1
2024-04-02 16:14:05 +00:00
- name: clean
run: make clean
- name: build
2024-04-02 16:42:55 +00:00
run: make RUN_IN_GITHUB_ACTION=TRUE
2024-04-02 16:54:31 +00:00
- name: Archive elf file
uses: actions/upload-artifact@v4
with:
name: elf_file
2024-04-21 12:14:28 +00:00
path: build/main.elf
2024-04-02 16:54:31 +00:00
- name: Archive bin
uses: actions/upload-artifact@v4
with:
name: bin_file
2024-04-21 12:14:28 +00:00
path: build/main.bin