-
Notifications
You must be signed in to change notification settings - Fork 0
41 lines (41 loc) · 970 Bytes
/
build.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
name: build
on: [push, pull_request]
jobs:
windows:
runs-on: windows-latest
defaults:
run:
shell: msys2 {0}
steps:
- uses: actions/checkout@v4
- uses: msys2/setup-msys2@v2
with:
msystem: MINGW64
update: true
install: make mingw-w64-x86_64-gcc
- name: Build and Test
run: make -j
- uses: actions/upload-artifact@v4
with:
name: windows-build
path: libpazmath.a
macos:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- name: Build and Test
run: make -j
- uses: actions/upload-artifact@v4
with:
name: macos-build
path: libpazmath.a
linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build and Test
run: make -j
- uses: actions/upload-artifact@v4
with:
name: linux-build
path: libpazmath.a