runner
runner copied to clipboard
Runner is not running on macOS ARM64 but on x64
Describe the bug When running on macOS 12 and setting the architecture to ARM64 it runs on x64 instead.
To Reproduce Steps to reproduce the behavior:
- Go to the job here to see: https://github.com/kryptokrona/hugin-cli/actions/runs/3602943270/jobs/6070525321
Expected behavior A clear and concise description of what you expected to happen.
Runner Version and Platform
Version of your runner?
Current runner version: '2.299.1'
Operating System
macOS
1[2](https://github.com/kryptokrona/hugin-cli/actions/runs/3602883022/jobs/6070391617#step:1:2).6.1
21G217
Runner Image
Image: macos-12
Version: 20221127.[5](https://github.com/kryptokrona/hugin-cli/actions/runs/3602883022/jobs/6070391617#step:1:5)
Included Software: https://github.com/actions/runner-images/blob/macOS-12/2022112[7](https://github.com/kryptokrona/hugin-cli/actions/runs/3602883022/jobs/6070391617#step:1:8).5/images/macos/macos-12-Readme.md
Image Release: https://github.com/actions/runner-images/releases/tag/macOS-12%2F20221127.5
Runner Image Provisioner
2.0.[9](https://github.com/kryptokrona/hugin-cli/actions/runs/3602883022/jobs/6070391617#step:1:10)1.1
OS of the machine running the runner macOS-12 with architecture ARM64.
What's not working?
Output is on next section.
Job Log Output
Log output of the job:
Run cmake ..
-- The C compiler identification is AppleClang 14.0.0.14000029
-- The CXX compiler identification is AppleClang 14.0.0.14000029
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /Applications/Xcode_[14](https://github.com/kryptokrona/hugin-cli/actions/runs/3602883022/jobs/6070391617#step:16:15).0.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /Applications/Xcode_14.0.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- No build type selected, default to Release
-- Building in Release mode
-- Building with AppleClang 14.0.0.14000029 on Darwin-[21](https://github.com/kryptokrona/hugin-cli/actions/runs/3602883022/jobs/6070391617#step:16:22).6.0
-- Building sqlcipher for macOS
checking build system type... x86_64-apple-darwin21.6.0
checking host system type... x86_64-apple-darwin21.6.0
checking how to print strings... printf
checking for gcc... /Applications/Xcode_14.0.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc
checking whether the C compiler works... no
configure: error: in `/Users/runner/work/hugin-cli/hugin-cli/external/sqlcipher':
configure: error: C compiler cannot create executables
See `config.log' for more details
make: *** No targets specified and no makefile found. Stop.
Log output of the configure file:
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by sqlcipher configure 3.39.2, which was
generated by GNU Autoconf 2.69. Invocation command line was
$ ./configure --enable-tempstore=yes CFLAGS=-DSQLITE_HAS_CODEC -I$(brew --prefix openssl)/include LDFLAGS=-L$(brew --prefix openssl)/lib
## --------- ##
## Platform. ##
## --------- ##
hostname = Mac-1669994206441.local
uname -m = x86_64
uname -r = 21.6.0
uname -s = Darwin
uname -v = Darwin Kernel Version 21.6.0: Thu Sep 29 20:12:57 PDT 2022; root:xnu-8020.240.7~1/RELEASE_X86_64