mirror of
https://github.com/ayabusa/Numworks-zeta-os.git
synced 2024-11-24 11:53:26 +00:00
38 lines
644 B
YAML
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
|