2025-01-18 16:01:27 +04:00

39 lines
795 B
YAML

name: CI
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: build disk image
run: make image.bin
llvm:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install lld
run: sudo apt-get install -y lld
- name: LLVM build
run: make LLVM=on image.bin
macos:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- name: install llvm
run: brew install llvm x86_64-elf-binutils x86_64-elf-gcc lld
- name: LLVM build
run: make LLVM=on image.bin
windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- name: LLVM build
run: make LLVM=on image.bin