forked from corazawaf/libcoraza
-
Notifications
You must be signed in to change notification settings - Fork 0
45 lines (42 loc) · 1006 Bytes
/
make-install.yml
File metadata and controls
45 lines (42 loc) · 1006 Bytes
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
name: Test make and install
on:
push:
pull_request:
branches: [main]
permissions: {}
jobs:
make-targets:
permissions:
contents: read
strategy:
matrix:
go-version: [1.25.x, 1.26.x]
os: [ubuntu-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Install Go
uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
with:
go-version: ${{ matrix.go-version }}
- name: Checkout code
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
lfs: true
fetch-depth: 0 #for better blame info
- name: Install macOS dependencies
if: runner.os == 'macOS'
run: |
brew install autoconf automake libtool
- name: Setup
run: |
./build.sh
./configure
- name: Compile
run: |
make V=1
- name: Test
run: |
make check
- name: Install
run: |
sudo make V=1 install