mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-01-31 19:43:32 +00:00
f7ae50462a
- Fix unused local variable errors - Remove yoinks from sigaction() header - Add nox87 and aarch64 to github actions - Fix cosmocc -fportcosmo in linking mode - It's now possible to build `make m=llvm o/llvm/libc`
31 lines
681 B
YAML
31 lines
681 B
YAML
name: build
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- "master"
|
|
- "flake"
|
|
pull_request:
|
|
branches:
|
|
- "master"
|
|
|
|
# run workflow manually from the Actions tab
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
matrix_on_mode:
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
matrix:
|
|
mode: ["", tiny, rel, nox87, aarch64, tinylinux, optlinux]
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
|
|
- name: support ape bins 1
|
|
run: sudo cp build/bootstrap/ape.elf /usr/bin/ape
|
|
|
|
- name: support ape bins 2
|
|
run: sudo sh -c "echo ':APE:M::MZqFpD::/usr/bin/ape:' >/proc/sys/fs/binfmt_misc/register"
|
|
|
|
- name: make matrix
|
|
run: V=0 make -j2 MODE=${{ matrix.mode }}
|