Files
bacnet_stack/.github/workflows/gcc.yml
T
Mikhail Antropov 8f576461a8 Feature/oscbs 29 calendar time object (#440)
* Added basic Calendar object, unit tests, and integration with example device object.

* Added basic Time Value object, unit tests, and integration with example device object.

---------

Co-authored-by: Steve Karg <skarg@users.sourceforge.net>
2024-02-01 23:01:27 -06:00

243 lines
5.9 KiB
YAML

name: GCC
on:
push:
branches:
- master
pull_request:
branches:
- '*'
jobs:
bip-apps:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Create Build Environment
run: |
sudo apt-get update -qq
sudo apt-get install -qq libconfig-dev
- name: Build Demo Apps GNU89
run: |
gcc --version
make clean
make LEGACY=true CSTANDARD="-std=gnu89" all
- name: Build Demo Apps GNU99
run: |
make clean
make CSTANDARD="-std=gnu99" all
- name: LEGACY=true Build Demo Apps GNU11
run: |
make clean
make LEGACY=true CSTANDARD="-std=gnu11" all
- name: Build Demo Apps GNU17
run: |
make clean
make LEGACY=true CSTANDARD="-std=gnu17" all
bip-no-bbmd-apps:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Create Build Environment
run: |
sudo apt-get update -qq
sudo apt-get install -qq libconfig-dev
- name: Build Demo Apps BBMD=none
run: |
gcc --version
make clean
make LEGACY=true BBMD=none all
bip-client-bbmd-apps:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Create Build Environment
run: |
sudo apt-get update -qq
sudo apt-get install -qq libconfig-dev
- name: Build Demo Apps BBMD=client
run: |
gcc --version
make clean
make LEGACY=true BBMD=client all
gateway:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Create Build Environment
run: |
sudo apt-get update -qq
sudo apt-get install -qq libconfig-dev
- name: Build Gateway Demo
run: |
gcc --version
make clean
make LEGACY=true gateway
router:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Create Build Environment
run: |
sudo apt-get update -qq
sudo apt-get install -qq libconfig-dev
- name: Build Router Demo
run: |
gcc --version
make clean
make LEGACY=true router
router-ipv6:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Create Build Environment
run: |
sudo apt-get update -qq
sudo apt-get install -qq libconfig-dev
- name: Build Router IPv6 Demo
run: |
gcc --version
make clean
make LEGACY=true router-ipv6
router-mstp:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Create Build Environment
run: |
sudo apt-get update -qq
sudo apt-get install -qq libconfig-dev
- name: Build Router MSTP Demo
run: |
gcc --version
make clean
make LEGACY=true router-mstp
bip6:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Create Build Environment
run: |
sudo apt-get update -qq
sudo apt-get install -qq libconfig-dev
- name: Build BACnet/IPv6 Demos
run: |
gcc --version
make clean
make LEGACY=true bip6
mstp:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Create Build Environment
run: |
sudo apt-get update -qq
sudo apt-get install -qq libconfig-dev
- name: Build MSTP Demos
run: |
gcc --version
make clean
make LEGACY=true mstp
ethernet:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Create Build Environment
run: |
sudo apt-get update -qq
sudo apt-get install -qq libconfig-dev
- name: Build Ethernet Demos
run: |
gcc --version
make clean
make LEGACY=true ethernet
ports-arm-makefile:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Create Build Environment
run: |
sudo apt-get update -qq
sudo apt-get install -qq build-essential
sudo apt-get install -qq gcc-arm-none-eabi
sudo apt-get install -qq libnewlib-arm-none-eabi
- name: ports-arm-makefile
run: |
make clean
arm-none-eabi-gcc --version
make LEGACY=true stm32f10x
make LEGACY=true stm32f4xx
make LEGACY=true at91sam7s
ports-arm-cmake:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Create Build Environment
run: |
sudo apt-get update -qq
sudo apt-get install -qq build-essential
sudo apt-get install -qq gcc-arm-none-eabi
sudo apt-get install -qq libnewlib-arm-none-eabi
sudo apt-get install -qq cmake
- name: ports-arm-cmake
run: |
arm-none-eabi-gcc --version
make stm32f4xx-cmake
make at91sam7s-cmake
ports-avr:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Create Build Environment
run: |
sudo apt-get update -qq
sudo apt-get install -qq build-essential
sudo apt-get install -qq gcc-avr avr-libc binutils-avr
- name: ports-avr
run: |
avr-gcc --version
make LEGACY=true atmega168
make LEGACY=true bdk-atxx4-mstp
make LEGACY=true xplained
ports-lwip:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Create Build Environment
run: |
sudo apt-get update -qq
sudo apt-get install -qq build-essential
sudo apt-get install -qq liblwip-dev
- name: ports-lwip
run: |
make lwip
mingw:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Create Build Environment
run: |
sudo apt-get update -qq
sudo apt-get install -qq build-essential
sudo apt-get install -qq mingw-w64
- name: Build Win32 Demos
run: |
export CC=i686-w64-mingw32-gcc
export LD=i686-w64-mingw32-ld
i686-w64-mingw32-gcc --version
make win32