-
Notifications
You must be signed in to change notification settings - Fork 74
47 lines (41 loc) · 1.03 KB
/
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
42
43
44
45
46
47
name: Build CI
on:
push: {}
pull_request: {}
jobs:
build-linux:
runs-on: ubuntu-latest
container: ubuntu:24.04
steps:
- uses: actions/checkout@v4
- name: setup os
run: apt-get update && apt-get -y install libfcgi-client-perl autoconf automake libtool make gcc make m4 g++
- name: libfcgi - autogen.sh
run: ./autogen.sh
- name: libfcgi-configure
run: ./configure
- name: libfcgi - make
run: make
- name: perl module - distrib and perl Makefile.PL
working-directory: perl
run: ./distrib && perl Makefile.PL
- name: perl module - make
working-directory: perl
run: make
- name: perl module - make test
working-directory: perl
run: make test
build-windows:
runs-on: windows-2022
strategy:
matrix:
arch:
- x86
- amd64
steps:
- uses: actions/checkout@v4
- uses: ilammy/msvc-dev-cmd@v1
with:
arch: ${{ matrix.arch }}
- name: build with nmake
run: nmake -f Makefile.nt