Macos #17
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Macos daily check | |
on: | |
schedule: | |
- cron: "0 8 * * *" | |
workflow_dispatch: | |
jobs: | |
update: | |
name: Macos daily check | |
strategy: | |
matrix: | |
arch: [amd64, arm64] | |
include: | |
- arch: arm64 | |
os: macos-14 | |
is_arm: true | |
- arch: amd64 | |
os: macos-13 | |
runs-on: ${{ matrix.os }} | |
steps: | |
- run: sysctl -a | grep machdep.cpu | |
- name: Install building tools | |
run: brew install node python ninja nasm git | |
- name: Clone the repo | |
run: git clone https://github.com/devraymondsh/libnode-distributable | |
- name: Run sccache-cache | |
uses: mozilla-actions/[email protected] | |
- name: Run the script | |
env: | |
ARCH: ${{ matrix.arch }} | |
SCCACHE_GHA_ENABLED: "true" | |
run: cd libnode-distributable && node index.js | |
- name: Find the shared library | |
run: find libnode-distributable/node -name libnode.so\* -not -name '*.TOC' -not -name '*.toc' -exec ls {} \; |