33 lines
617 B
YAML
33 lines
617 B
YAML
name: CI
|
|
|
|
on:
|
|
push:
|
|
branches: [ "main" ]
|
|
pull_request:
|
|
branches: [ "main" ]
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- name: build disk image
|
|
run: make image.bin
|
|
llvm:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- 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@v3
|
|
- name: install llvm
|
|
run: brew install llvm
|
|
- name: LLVM build
|
|
run: make LLVM=on image.bin
|
|
|