Skip to content

Commit e56b70f

Browse files
authored
Merge pull request #13 from vamsii777/ci
Add Ubuntu/macOS Build Workflow
2 parents a18bd25 + b0c3e6b commit e56b70f

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

.github/workflows/main.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Build
2+
3+
on:
4+
push:
5+
branches: [ "main" ]
6+
tags:
7+
- '*'
8+
pull_request:
9+
branches: '*'
10+
11+
jobs:
12+
ubuntu_test:
13+
name: Ubuntu Build
14+
runs-on: ubuntu-22.04
15+
container: swift:6.0-jammy
16+
steps:
17+
- uses: actions/checkout@v4
18+
- name: Build
19+
run: swift build -v
20+
macos_test:
21+
name: macOS Build
22+
runs-on: macos-15
23+
steps:
24+
- name: Select appropriate Xcode version
25+
uses: maxim-lobanov/setup-xcode@v1
26+
with:
27+
xcode-version: latest-stable
28+
- uses: actions/checkout@v4
29+
- name: Build
30+
run: swift build -v

0 commit comments

Comments
 (0)