Add tiny / opt to CI matrix (#448)

This commit is contained in:
Theta Nil 2022-06-26 01:08:41 -04:00 committed by GitHub
parent fbc053e018
commit fa5c2a24b5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -12,18 +12,16 @@ on:
workflow_dispatch:
jobs:
build:
matrix_on_mode:
runs-on: ubuntu-latest
strategy:
matrix:
mode: ["", tiny, opt]
steps:
- uses: actions/checkout@v3
- name: support ape bins
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 everything
run: V=0 make -j2
- name: printargs.com
run: ./o/examples/printargs.com
- name: make matrix
run: V=0 make -j2 MODE=${{ matrix.mode }}