Version 1.2.0 (Nov 22, 2024) #84
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build Status | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
name: ${{ matrix.os }} build | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest, macOS-latest] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: install apache and libbsd (ubuntu) | |
if: runner.os == 'Linux' | |
run: sudo apt-get install apache2 apache2-dev libbsd-dev | |
- name: install apache and libbsd (macos) | |
if: runner.os == 'macOS' | |
run: | | |
# use latest master, not stable (until libbsd mac version is in stable) | |
brew developer on | |
# grab master version of libbsd with mac support | |
brew update | |
brew install httpd libbsd | |
- name: make mod_authz_unixgroup (POSIX-GCC) | |
if: runner.os != 'Windows' | |
run: make | |
- name: make install mod_authz_unixgroup (POSIX-GCC) | |
if: runner.os != 'Windows' | |
run: sudo make install | |
- name: restart apache (ubuntu) | |
if: runner.os == 'Linux' | |
run: sudo service apache2 restart | |
- name: restart apache (macos) | |
if: runner.os == 'macOS' | |
run: brew services restart httpd | |