Skip to content

Commit

Permalink
Merge pull request #170 from cubicdaiya/feature-add-nginx-build-jobs-…
Browse files Browse the repository at this point in the history
…pararell

Add multiple Nginx build jobs
  • Loading branch information
catatsuy authored Oct 19, 2024
2 parents 9052661 + ffb4e1f commit ad17fc1
Showing 1 changed file with 46 additions and 4 deletions.
50 changes: 46 additions & 4 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
@@ -1,27 +1,69 @@
name: Go

on: [push]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: 1.23.x

- name: Build
run: make

- name: Test
run: make check

- name: Run
run-nginx-openssl:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: 1.23.x
- name: Run Nginx with OpenSSL
run: |
make
./nginx-build -c ./config/configure.example -m ./config/modules.json.example -d work -clear -pcre -zlib -openssl
run-nginx-libressl:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: 1.23.x
- name: Run Nginx with LibreSSL
run: |
make
./nginx-build -c ./config/configure.example -m ./config/modules.json.example -d work -clear -pcre -zlib -libressl
run-freenginx:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: 1.23.x
- name: Run Nginx with FreeNginx
run: |
make
./nginx-build -c ./config/configure.example -m ./config/modules.json.example -d work -clear -freenginx -pcre -zlib -openssl
run-openresty:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: 1.23.x
- name: Run Nginx with OpenResty
run: |
make
./nginx-build -c ./config/configure.example -m ./config/modules.json.example -d work -clear -openresty -pcre -zlib -openssl

0 comments on commit ad17fc1

Please sign in to comment.