android_external_toybox/.github/workflows/toybox.yml
Elliott Hughes f616302126 Apparently macOS-12.4 isn't an option.
But it's not an _error_ --- github just waits forever for a runner
to be available? Anyway, from
https://github.blog/changelog/2022-04-25-github-actions-public-beta-of-macos-12-for-github-hosted-runners-is-now-available/
it looks like `macos-12` should work.

There's also `macos-latest`, but it sounds like that's still
`macos-11` atm, so although we should probably come back and switch
to that, it's a bit early yet.

Although we could switch to `macos-latest` but explicitly say that
we need the homebrew coreutils installed?
2022-06-02 17:14:19 -05:00

37 lines
651 B
YAML

name: toybox CI
on:
schedule:
- cron: '0 2 * * *'
push:
branches: [ master ]
jobs:
MacOS-12:
runs-on: macos-12
steps:
- uses: actions/checkout@v2
- name: Setup
run: brew install gnu-sed
- name: Configure
run: make macos_defconfig
- name: Build
run: make
- name: Test
run: VERBOSE=all make tests
Ubuntu-20_04:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- name: Setup
run: sudo apt-get install build-essential
- name: Configure
run: make defconfig
- name: Build
run: make
- name: Test
run: VERBOSE=all make tests