mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-08-02 07:50:31 +00:00
Migrate from Travis to GitHub Actions (#441)
This commit is contained in:
parent
206f073181
commit
2b54f1bcf6
5 changed files with 89 additions and 51 deletions
29
.github/workflows/build.yml
vendored
Normal file
29
.github/workflows/build.yml
vendored
Normal file
|
@ -0,0 +1,29 @@
|
|||
name: build
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- "master"
|
||||
pull_request:
|
||||
branches:
|
||||
- "master"
|
||||
|
||||
# run workflow manually from the Actions tab
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
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
|
Loading…
Add table
Add a link
Reference in a new issue