forked from evanmiller/mod_zip
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Migrate from Travis CI to GitHub Actions
- Loading branch information
1 parent
c79935a
commit 660ad95
Showing
2 changed files
with
39 additions
and
34 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
name: build | ||
on: [ push, pull_request ] | ||
jobs: | ||
linux: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
compiler: [ gcc, clang ] | ||
version: [ 1.10.3, 1.11.13, 1.12.1, 1.13.5, 1.19.6 ] | ||
steps: | ||
- name: Install carton | ||
run: sudo apt install carton | ||
- uses: actions/checkout@v2 | ||
- name: Download nginx | ||
run: wget http://nginx.org/download/nginx-${{ matrix.version }}.tar.gz | ||
- name: Untar nginx | ||
run: tar xvfz nginx-${{ matrix.version }}.tar.gz | ||
- name: Configure | ||
run: ./configure --prefix=${GITHUB_WORKSPACE}/t/nginx --add-module=${GITHUB_WORKSPACE} | ||
working-directory: nginx-${{ matrix.version }} | ||
env: | ||
CC: ${{ matrix.compiler }} | ||
CFLAGS: -Wno-implicit-fallthrough | ||
- name: Make | ||
run: make | ||
working-directory: nginx-${{ matrix.version }} | ||
- name: Make install | ||
run: make install | ||
working-directory: nginx-${{ matrix.version }} | ||
- name: Start nginx | ||
run: ./restart.sh | ||
working-directory: t | ||
- name: Carton install | ||
run: carton install | ||
working-directory: t | ||
- name: Carton exec | ||
run: carton exec ./ziptest.pl | ||
working-directory: t |
This file was deleted.
Oops, something went wrong.