Skip to content

unify makefiles

unify makefiles #244

Workflow file for this run

name: citest
on:
push:
pull_request:
schedule:
- cron: '30 4 * * 1'
jobs:
test:
strategy:
fail-fast: false
matrix:
go-version:
- 1.21.x
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: abbbi/github-actions-tune@v1
- run: sudo apt-get -y install gearman-job-server
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
- uses: actions/checkout@v4
- run: make clean
- run: make citest
- run: CGO_ENABLED=0 make
- run: make build-windows-amd64
- name: extract mod_gearman_worker
uses: actions/upload-artifact@v4
with:
name: mod_gearman_worker_linux_amd64_go${{ matrix.go-version }}
path: mod_gearman_worker
- name: extract built send_gearman.exe
uses: actions/upload-artifact@v4
with:
name: send_gearman_windows_amd64_go${{ matrix.go-version }}.exe
path: send_gearman.windows.amd64.exe