Skip to content

Commit

Permalink
.github/workflows: macosx
Browse files Browse the repository at this point in the history
  • Loading branch information
Felix Wischke (65278) committed Aug 25, 2022
1 parent cb586d7 commit cbf65c9
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/test-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,3 +96,40 @@ jobs:
make install
src/schaufel -c 1 -i f -p 1 -o f -f src/main.c -F main.c
diff -q src/main.c main.c
pr-test-macosx:
name: Test Schaufel on MacOSX
runs-on: ${{ matrix.os }}
strategy:
matrix:
# also test 'latest', eventually this will be upgraded to a newer version and might fail early
os: [macos-11, macos12, macos-latest]

steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Versions
run: echo "${{ matrix.os }}"

- name: Install Deps
run: brew install gcc autoconf automake libtool libconfig librdkafka hiredis libpq json-c

# do the actual compilation
- name: Configure
run: autoreconf --force -i && ./configure

- name: Run testsuite
run: make test

- name: Make
run: make

# install schaufel
- name: Install Schaufel
run: sudo make install

- name: Run simple schaufel test
run: src/schaufel -c 1 -i f -p 1 -o f -f src/main.c -F main.c

- name: test output
run: diff -q src/main.c main.c

0 comments on commit cbf65c9

Please sign in to comment.