Skip to content

Commit

Permalink
Add macos and linux
Browse files Browse the repository at this point in the history
  • Loading branch information
Ioannis Konstantelias committed Oct 25, 2024
1 parent 1b65030 commit 5008e2b
Showing 1 changed file with 27 additions and 11 deletions.
38 changes: 27 additions & 11 deletions .github/workflows/build_bsd.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,26 @@
name: "Build on *BSD"
name: "Build on X platforms"

on:
push: {}
pull_request: {}

jobs:
openbsd:
linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build on Ubuntu
with:
run: |
autoreconf -vfi
./configure
make
- name: Build on openbsd, x86-64, 7.4
openbsd:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build on OpenBSD, x86-64, 7.4
uses: cross-platform-actions/action@v0.25.0
env:
AUTOCONF_VERSION: 2.71
Expand All @@ -33,8 +43,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Build on freebsd
- name: Build on FreeBSD
uses: cross-platform-actions/action@v0.25.0
with:
operating_system: freebsd
Expand All @@ -53,22 +62,29 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Build on netbsd
- name: Build on NetBSD
uses: cross-platform-actions/action@v0.25.0
env:
AUTOCONF_VERSION: 2.71
AUTOMAKE_VERSION: 1.16
with:
operating_system: netbsd
architecture: x86-64
version: '9.4'
memory: 4G
sync_files: runner-to-vm
environment_variables: AUTOCONF_VERSION AUTOMAKE_VERSION
shell: bash
run: |
sudo pkgin install autoconf automake libtool
autoreconf -vfi
./configure
make
macos:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- name: Build on macOS
with:
run: |
brew install autoconf automake libtool
autoreconf -vfi
./configure
make

0 comments on commit 5008e2b

Please sign in to comment.