Skip to content

Commit

Permalink
Create amalgamate.yml
Browse files Browse the repository at this point in the history
- clone repository
- cmake with parameter UA_ENABLE_AMALGAMATION=ON
- make
- upload artifact as open62541_amalgamate.zip
  • Loading branch information
ozlb authored Sep 29, 2022
1 parent 3d4af46 commit 66d3dff
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/amalgamate.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: amalgamate CI

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

jobs:
linux:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- name: Clone repositiory
run: git clone https://github.com/open62541/open62541.git

- name: Amalgamate
run: |
mkdir open62541/build
cd open62541/build
cmake -D UA_ENABLE_AMALGAMATION=ON ..
make
- name: Archive
uses: actions/upload-artifact@v3
with:
name: open62541_amalgamate
path: |
open62541/build/open62541.h
open62541/build/open62541.c
open62541/build/bin/libopen62541.a

0 comments on commit 66d3dff

Please sign in to comment.