-
Notifications
You must be signed in to change notification settings - Fork 3
39 lines (36 loc) · 1.41 KB
/
build-blst-on-macos.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# If you update the build.sh flags, you must also update src/blst/dune accordingly
name: Build blst on MacOS
on: [push]
jobs:
# Not supporting clang 10
# Getting error:
# > ld: unsupported tapi file type '!tapi-tbd' in YAML file
# > '/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/lib/libSystem.tbd'
# > for architecture x86_64
# > clang: error: linker command failed with exit code 1 (use -v to see invocation)
# blst-build-clang-10:
# runs-on: [macos-10.15]
# steps:
# - uses: actions/checkout@v2
# - run: |
# sudo xcode-select -s /Applications/Xcode_10.3.app/Contents/Developer
# cc --version
# cd src/blst/libblst && ./build.sh -shared -Wno-missing-braces
blst-build-clang-11:
runs-on: macos-10.15
steps:
- uses: actions/checkout@v2
- run: |
sudo xcode-select -s /Applications/Xcode_11.3.app/Contents/Developer
cc --version
cp src/bindings/blst_extended.c src/libblst/src/blst_extended.c
cd src/libblst && ./build.sh -shared -Wno-missing-braces
blst-build-clang-12:
runs-on: macos-10.15
steps:
- uses: actions/checkout@v2
- run: |
sudo xcode-select -s /Applications/Xcode_12.app/Contents/Developer
cc --version
cp src/bindings/blst_extended.c src/libblst/src/blst_extended.c
cd src/libblst && ./build.sh -shared -Wno-missing-braces