Skip to content

Commit 872300a

Browse files
webwarrior-wsknocte
authored andcommitted
GithubCI: added Linux and Mac builds
1 parent 68a0cb0 commit 872300a

File tree

1 file changed

+53
-3
lines changed

1 file changed

+53
-3
lines changed

.github/workflows/CI.yml

Lines changed: 53 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on:
55
pull_request:
66

77
jobs:
8-
buildAndTest:
8+
buildAndTestWindows:
99

1010
runs-on:
1111
- windows-latest
@@ -22,10 +22,60 @@ jobs:
2222
- name: Upload artifact (bin)
2323
uses: actions/upload-artifact@v4
2424
with:
25-
name: bin
25+
name: bin-windows
2626
path: bin
2727
- name: Upload artifact (dist)
2828
uses: actions/upload-artifact@v4
2929
with:
30-
name: dist
30+
name: dist-windows
31+
path: dist
32+
33+
buildAndTestLinux:
34+
35+
runs-on:
36+
- ubuntu-latest
37+
38+
steps:
39+
- uses: actions/checkout@v4
40+
- name: Setup .NET
41+
uses: actions/setup-dotnet@v3
42+
with:
43+
dotnet-version: 6.0.428
44+
- name: Build & Run Tests
45+
run: |
46+
./build.sh
47+
- name: Upload artifact (bin)
48+
uses: actions/upload-artifact@v4
49+
with:
50+
name: bin-linux
51+
path: bin
52+
- name: Upload artifact (dist)
53+
uses: actions/upload-artifact@v4
54+
with:
55+
name: dist-linux
56+
path: dist
57+
58+
buildAndTestMac:
59+
60+
runs-on:
61+
- macos-latest
62+
63+
steps:
64+
- uses: actions/checkout@v4
65+
- name: Setup .NET
66+
uses: actions/setup-dotnet@v3
67+
with:
68+
dotnet-version: 6.0.428
69+
- name: Build & Run Tests
70+
run: |
71+
./build.sh
72+
- name: Upload artifact (bin)
73+
uses: actions/upload-artifact@v4
74+
with:
75+
name: bin-macos
76+
path: bin
77+
- name: Upload artifact (dist)
78+
uses: actions/upload-artifact@v4
79+
with:
80+
name: dist-macos
3181
path: dist

0 commit comments

Comments
 (0)