updated README and changelog format #13
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
name: Build | |
on: | |
push: | |
branches: [ "master" ] | |
pull_request: | |
branches: [ "master" ] | |
jobs: | |
linux-build: | |
name: Linux Build | |
strategy: | |
matrix: | |
cc: [ gcc, clang ] | |
runs-on: ubuntu-24.04 | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: recursive | |
# Github is broken | |
- name: Submodule Tags | |
run: | | |
cd lib/c-utils | |
git fetch --tags | |
- name: build | |
run: | | |
make clean debug CC=${{ matrix.cc }} | |
make clean release CC=${{ matrix.cc }} | |
macos-build: | |
name: MacOS Build | |
strategy: | |
matrix: | |
cc: [ gcc-13, clang ] | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: recursive | |
- name: Submodule Tags | |
run: | | |
cd lib/c-utils | |
git fetch --tags | |
- name: build | |
run: | | |
make clean debug CC=${{ matrix.cc }} | |
make clean release CC=${{ matrix.cc }} | |
freebsd-build: | |
name: FreeBSD Build | |
strategy: | |
matrix: | |
cc: [ gcc13, clang ] | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: recursive | |
- name: Submodule Tags | |
run: | | |
cd lib/c-utils | |
git fetch --tags | |
- uses: vmactions/freebsd-vm@v1 | |
with: | |
usesh: true | |
prepare: | | |
pkg install -y gcc13 gmake git | |
run: | | |
gmake clean debug CC=${{ matrix.cc }} | |
gmake clean release CC=${{ matrix.cc }} |