mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-02-12 09:17:53 +00:00
Add tiny / opt to CI matrix (#448)
This commit is contained in:
parent
fbc053e018
commit
fa5c2a24b5
1 changed files with 6 additions and 8 deletions
14
.github/workflows/build.yml
vendored
14
.github/workflows/build.yml
vendored
|
@ -12,18 +12,16 @@ on:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
matrix_on_mode:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
mode: ["", tiny, opt]
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: support ape bins
|
- name: support ape bins
|
||||||
run: sudo sh -c "echo ':APE:M::MZqFpD::/bin/sh:' >/proc/sys/fs/binfmt_misc/register"
|
run: sudo sh -c "echo ':APE:M::MZqFpD::/bin/sh:' >/proc/sys/fs/binfmt_misc/register"
|
||||||
|
|
||||||
# gh-action runners have 2 cpus with 1 thread each
|
- name: make matrix
|
||||||
- name: make everything
|
run: V=0 make -j2 MODE=${{ matrix.mode }}
|
||||||
run: V=0 make -j2
|
|
||||||
|
|
||||||
- name: printargs.com
|
|
||||||
run: ./o/examples/printargs.com
|
|
||||||
|
|
Loading…
Reference in a new issue