-
Notifications
You must be signed in to change notification settings - Fork 1
79 lines (65 loc) · 1.66 KB
/
macos_23_4_0_aarch64.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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
name: macOS 23.4.0 aarch64
on:
push:
branches: [ "main", "screen-v4" ]
pull_request:
branches: [ "main", "screen-v4" ]
env:
CC: clang
jobs:
macos:
strategy:
matrix:
os: [ macos-latest ]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- name: Install dependency
working-directory: ${{github.workspace}}/src
run: brew install automake make gcc ncurses libevent
- name: Create Build Environment
working-directory: ${{github.workspace}}/src
run: ./autogen.sh
- name: Configure
shell: bash
working-directory: ${{github.workspace}}/src
run: |
uname -a
clang -v
cc=clang ./configure --disable-pam CFLAGS='-Wall'
- name: Build
working-directory: ${{github.workspace}}/src
shell: bash
run: make
- name: Test
working-directory: ${{github.workspace}}/src
shell: bash
run: |
echo "> pwd"
pwd
echo "> screen -v"
./screen -v
echo "> screen --help"
./screen --help
- name: Clean
working-directory: ${{github.workspace}}/src
shell: bash
run: make clean
- name: Configure DEBUG
shell: bash
working-directory: ${{github.workspace}}/src
run: |
clang -v
cc=clang ./configure --disable-pam CFLAGS='-Wall'
- name: Build DEBUG
working-directory: ${{github.workspace}}/src
shell: bash
run: make
- name: Test
working-directory: ${{github.workspace}}/src
shell: bash
run: |
echo "> screen -v"
./screen -v
echo "> screen --help"
./screen --help