Skip to content

Commit 2bb4c9f

Browse files
committed
try to add CI
1 parent 0618e52 commit 2bb4c9f

File tree

1 file changed

+44
-0
lines changed

1 file changed

+44
-0
lines changed

.github/workflows/actions.yml

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
name: C/xcodebuild CI
2+
3+
on:
4+
push:
5+
branches: [ main ]
6+
tags: [ '*' ]
7+
pull_request:
8+
branches: [ main ]
9+
10+
jobs:
11+
build:
12+
name: Build on ${{ matrix.os }}
13+
timeout-minutes: 5
14+
strategy:
15+
matrix:
16+
os:
17+
- macos-14
18+
#- macos-13
19+
#- macos-12
20+
runs-on: ${{ matrix.os }}
21+
steps:
22+
- uses: actions/checkout@v4
23+
with:
24+
repository: getargv/getargv
25+
path: getargv
26+
token: ${{ secrets.GH_PAT }}
27+
- name: Build libgetargv
28+
run: make dylib
29+
working-directory: getargv
30+
- name: Install libgetargv
31+
run: sudo make install_dylib
32+
working-directory: getargv
33+
- uses: actions/checkout@v4
34+
with:
35+
path: adv_cmds
36+
- name: make
37+
run: |
38+
xcodebuild -scheme ps
39+
working-directory: adv_cmds
40+
# - uses: actions/upload-artifact@v4
41+
# with:
42+
# name: ${{ matrix.os }}.zip
43+
# path: |
44+
# adv_cmds/*

0 commit comments

Comments
 (0)