Skip to content

Commit

Permalink
Merge pull request #17 from mrdeep1/workflow
Browse files Browse the repository at this point in the history
main.yml: Add in github workflow build
  • Loading branch information
mrdeep1 authored May 6, 2024
2 parents cbbd9af + f406977 commit b0f45b8
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: Build Tests

on:
push:
branches:
- main
- develop
- release-*
- gh-workflows
pull_request:
branches:
- main
- develop

env:
PLATFORM: posix
TESTS: yes

jobs:
build-linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: setup
run: |
sudo apt-get update && sudo apt-get install -y libtool libtool-bin exuberant-ctags
- name: configure / build / install libcoap
run: |
git clone https://github.com/obgm/libcoap.git
cd libcoap
./autogen.sh
./configure --with-openssl --disable-documentation --disable-doxygen --disable-man --disable-tests --disable-examples --disable-license-install
make
sudo make install
- name: build minimal
run: |
LIBCOAP=libcoap-3-openssl make

0 comments on commit b0f45b8

Please sign in to comment.