Skip to content

Commit

Permalink
Try running FreeBSD on ubuntu runner
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-grunder committed Jan 21, 2024
1 parent 20856fa commit 180e45d
Showing 1 changed file with 13 additions and 14 deletions.
27 changes: 13 additions & 14 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,13 @@ jobs:
env:
SKIPS_AS_FAILS: 1
TEST_SSL: 1
run: "$GITHUB_WORKSPACE"/test.sh
run: $GITHUB_WORKSPACE/test.sh

# - name: Run tests under valgrind
# env:
# SKIPS_AS_FAILS: 1
# TEST_PREFIX: valgrind --error-exitcode=99 --track-origins=yes --leak-check=full
# run: "$GITHUB_WORKSPACE"/test.sh
# run: $GITHUB_WORKSPACE/test.sh

centos7:
name: CentOS 7
Expand Down Expand Up @@ -64,14 +64,14 @@ jobs:
env:
SKIPS_AS_FAILS: 1
TEST_SSL: 1
run: "$GITHUB_WORKSPACE"/test.sh
run: $GITHUB_WORKSPACE/test.sh

- name: Run tests under valgrind
env:
SKIPS_AS_FAILS: 1
TEST_SSL: 1
TEST_PREFIX: valgrind --error-exitcode=99 --track-origins=yes --leak-check=full
run: "$GITHUB_WORKSPACE"/test.sh
run: $GITHUB_WORKSPACE/test.sh

centos8:
name: RockyLinux 8
Expand Down Expand Up @@ -102,30 +102,28 @@ jobs:
env:
SKIPS_AS_FAILS: 1
TEST_SSL: 1
run: "$GITHUB_WORKSPACE"/test.sh
run: $GITHUB_WORKSPACE/test.sh

- name: Run tests under valgrind
env:
SKIPS_AS_FAILS: 1
TEST_SSL: 1
TEST_PREFIX: valgrind --error-exitcode=99 --track-origins=yes --leak-check=full
run: "$GITHUB_WORKSPACE"/test.sh
run: $GITHUB_WORKSPACE/test.sh

freebsd:
runs-on: ubuntu-latest
name: FreeBSD
steps:
# - uses: actions/checkout@v3
- uses: actions/checkout@v3

- name: Build in FreeBSD
uses: vmactions/freebsd-vm@v1.0.5
with:
prepare: pkg install -y gmake cmake
run: |
ls -lh
# with:
# prepare: pkg install -y gmake cmake
# run: |
# mkdir build && cd build && cmake .. && make && cd ..
# gmake
mkdir build && cd build && cmake .. && make && cd ..
gmake
macos:
name: macOS
Expand All @@ -140,10 +138,11 @@ jobs:
- name: Build hiredis
run: USE_SSL=1 make

- name: Run tests
env:
TEST_SSL: 1
run: "$GITHUB_WORKSPACE"/test.sh
run: $GITHUB_WORKSPACE/test.sh

windows:
name: Windows
Expand Down

0 comments on commit 180e45d

Please sign in to comment.