exercism / configlet

The official tool for managing Exercism language track repositories.
https://exercism.org/docs/building/configlet
GNU Affero General Public License v3.0
20 stars 14 forks source link

.github: bump macos-12 to macos-13 #879

Open ee7 opened 2 weeks ago

ee7 commented 2 weeks ago

This is the newer x86_64 macOS image, and is not in beta. See here.

It would be possible to use macos-14 somewhere, building a macOS arm64 configlet asset natively rather than cross-compiling via Zig. But let's not consider that in this PR.


To-do:

CC: ../nimdir/lib/std/sysrand.nim
/Users/runner/.cache/nim/configlet_r/@m..@snimdir@slib@sstd@ssysrand.nim.c:9:10: fatal error: 'Security/SecRandom.h' file not found
nimble.nim(304)          buildFromDir
    9 | #include <Security/SecRandom.h>

      |          ^~~~~~~~~~~~~~~~~~~~~~
    Error:  Build failed for the package: configlet
1 error generated.
     Info:  Nimble data file "/Users/runner/.nimble/nimbledata2.json" has been saved.
Error: execution of an external compiler program 'zigcc -c -w -ferror-limit=3 -pthread -target aarch64-macos-none -Os   -I/Users/runner/work/exercism-configlet/exercism-configlet/nimdir/lib -I/Users/runner/work/exercism-configlet/exercism-configlet/src -o /Users/runner/.cache/nim/configlet_r/@m..@snimdir@slib@sstd@ssysrand.nim.c.o /Users/runner/.cache/nim/configlet_r/@m..@snimdir@slib@sstd@ssysrand.nim.c' failed with exit code: 1

I think it just needs to pass to the linker:

-framework Security