Skip to content

Commit

Permalink
add openbsd CI build
Browse files Browse the repository at this point in the history
  • Loading branch information
giampaolo committed Apr 11, 2023
1 parent 167a887 commit 9efbde0
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 9 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ jobs:
prepare: pkg install -y gcc python3
run: |
set +e
python3 -m pip install --user setuptools
make install
make test
make test-memleaks
Expand Down
16 changes: 7 additions & 9 deletions .github/workflows/openbsd.yml
Original file line number Diff line number Diff line change
@@ -1,27 +1,25 @@
# https://github.com/vmactions/openbsd-vm
on: [push, pull_request]
name: build
concurrency:
group: ${{ github.ref }}-${{ github.workflow }}-${{ github.event_name }}-${{ github.ref == format('refs/heads/{0}', github.event.repository.default_branch) && github.sha || '' }}
cancel-in-progress: true
jobs:
py3-openbsd:
runs-on: macos-12
steps:
- name: Cancel previous runs
uses: styfle/cancel-workflow-action@0.9.1
with:
access_token: ${{ github.token }}

- uses: actions/checkout@v3

- name: Run tests
id: test-openbsd
uses: vmactions/openbsd-vm@v0
with:
usesh: false
usesh: true
mem: 2048
prepare: |
pkg_add curl
pkg_add maven
pkg_add gcc python3
run: |
set +e
python3 -m pip install --user setuptools
make install
make test
make test-memleaks

0 comments on commit 9efbde0

Please sign in to comment.