See what is the output on MacOS 14 VM #67
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: Compile main | |
on: | |
pull_request: | |
push: | |
branches: | |
- hauptzweig | |
paths: | |
- query_metal.mm | |
- .github/workflows/compile.yml | |
workflow_dispatch: | |
jobs: | |
do_compile: | |
runs-on: macos-14 | |
# runs-on: self-hosted | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v2 | |
- name: Compile and run | |
# shell: arch -arch arm64 zsh {0} | |
run: | | |
uname -a | |
sysctl machdep.cpu.brand_string | |
sysctl machdep.cpu.core_count | |
clang++ -o hello hello.cpp | |
file hello | |
./hello | |
clang++ -o query_metal query_metal.mm -framework Metal -framework Foundation -lobjc | |
./query_metal |