Debian Codegraph @

.github/workflows/mac-build.yml

raw symbols SCIP
1 name: macOS
2 on:
3 push:
4 branches:
5 - "main"
6 - "core-8-6-branch"
7 tags:
8 - "core-**"
9 permissions:
10 contents: read
11 jobs:
12 xcode:
13 runs-on: macos-15-intel
14 defaults:
15 run:
16 shell: bash
17 working-directory: macosx
18 steps:
19 - name: Checkout
20 uses: actions/checkout@v6
21 timeout-minutes: 5
22 - name: Prepare
23 run: |
24 touch tclStubInit.c tclOOStubInit.c
25 working-directory: generic
26 - name: Build
27 run: make -j4 all
28 timeout-minutes: 15
29 - name: Run Tests
30 run: make -j4 test styles=develop
31 env:
32 ERROR_ON_FAILURES: 1
33 MAC_CI: 1
34 timeout-minutes: 15
35 clang:
36 runs-on: macos-15-intel
37 strategy:
38 matrix:
39 config:
40 - ""
41 - "--disable-shared"
42 - "--enable-symbols"
43 - "--enable-symbols=mem"
44 - "--enable-symbols=all"
45 defaults:
46 run:
47 shell: bash
48 working-directory: unix
49 steps:
50 - name: Checkout
51 uses: actions/checkout@v6
52 timeout-minutes: 5
53 - name: Prepare
54 run: |
55 touch tclStubInit.c tclOOStubInit.c
56 mkdir "$HOME/install dir"
57 working-directory: generic
58 - name: Configure ${{ matrix.config }}
59 # Note that macOS is always a 64 bit platform
60 run: ./configure --enable-64bit --enable-dtrace --enable-framework ${CFGOPT} "--prefix=$HOME/install" || (cat config.log && exit 1)
61 env:
62 CFGOPT: ${{ matrix.config }}
63 timeout-minutes: 5
64 - name: Build
65 run: |
66 make -j4 all tcltest
67 timeout-minutes: 15
68 - name: Info
69 run: |
70 ulimit -a || echo 'get limit failed'
71 echo 'puts exe:\t[info nameofexecutable]\nver:\t[info patchlevel]\t[if {![catch tcl::build-info ret]} {set ret}]\nlib:\t[info library]\nplat:\t[lsort -dictionary -stride 2 [array get tcl_platform]]' | make runtest || echo 'get info failed'
72 - name: Run Tests
73 run: |
74 make test
75 env:
76 ERROR_ON_FAILURES: 1
77 MAC_CI: 1
78 timeout-minutes: 15