ci: add macos build+test workflow (#3)

This commit is contained in:
Ben Noordhuis 2023-10-31 18:07:27 +01:00 committed by GitHub
parent 2f7fd38f68
commit 62f67892ad
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -29,3 +29,18 @@ jobs:
- name: test
run: |
make -j$(getconf _NPROCESSORS_ONLN) CONFIG_WERROR=y test
macos:
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- name: build
run: |
make -j$(getconf _NPROCESSORS_ONLN) CONFIG_WERROR=y
- name: stats
run: |
make -j$(getconf _NPROCESSORS_ONLN) CONFIG_WERROR=y qjs
./qjs -qd
- name: test
run: |
make -j$(getconf _NPROCESSORS_ONLN) CONFIG_WERROR=y test