Skip to content

Commit

Permalink
Unit-buildbot: another attempt at specific njs-HEAD job
Browse files Browse the repository at this point in the history
  • Loading branch information
thresheek committed Jul 3, 2024
1 parent cf492f4 commit 2eba48d
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions .github/workflows/unit-buildbot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ jobs:
matrix:
os: [ alpine-3.19, amazonlinux-2, amazonlinux-2023, debian-11, debian-12, fedora-39, freebsd-14, rhel-8, rhel-9, ubuntu-20.04, ubuntu-22.04, ubuntu-23.10 ]
arch: [ amd64, arm64 ]
njs: [ '' ]
exclude:
- os: fedora-39 # we don't provide Fedora arm64 runners
arch: arm64
Expand Down Expand Up @@ -145,17 +146,15 @@ jobs:
;;
esac
- name: Check out njs HEAD
if: ${{ matrix.njs == 'HEAD' }}
run: |
git clone https://github.com/nginx/njs
- name: Check out njs
if: ${{ matrix.njs == '' }}
run: |
case "${{ matrix.njs }}" in
HEAD)
CLONE_SPECIFIC=""
;;
*)
CLONE_SPECIFIC="-b $(sed \"s/NJS_VERSION := \(.*\)/\1/\" pkg/contrib/src/njs/version)"
;;
esac
git clone $CLONE_SPECIFIC https://github.com/nginx/njs
git clone https://github.com/nginx/njs -b $(sed "s/NJS_VERSION := \(.*\)/\1/" pkg/contrib/src/njs/version)
- name: Configure and make njs
run: |
Expand Down

0 comments on commit 2eba48d

Please sign in to comment.