Skip to content

Commit

Permalink
init commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Antonov548 committed May 28, 2024
0 parents commit b2be52b
Show file tree
Hide file tree
Showing 7 changed files with 41 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: CI

on:
push:

jobs:
build-and-test:
runs-on: ubuntu-22.04

name: Build and test

steps:
- uses: actions/checkout@v3
submodules: true
with:
fetch-depth: 0

- name: run sanitizer
uses: addnab/docker-run-action@v3
with:
image: ghcr.io/antonov548/podofo.js-docker:main
options: --rm -v ${{ github.workspace }}:/podofo.js
run: |
set -e
cd podofo.js
emcmake cmake -S. -Bbuild -DOPENSSL_CRYPTO_LIBRARY=/usr/local/libx32/libcrypto.a -DOPENSSL_SSL_LIBRARY=/usr/local/libx32/libssl.a -DOPENSSL_INCLUDE_DIR=/usr/local/include/ -DLIBXML2_LIBRARY=/usr/local/lib/libxml2.a -DLIBXML2_INCLUDE_DIR=/usr/local/include/libxml2/ -DPODOFO_BUILD_STATIC=ON
cmake --build build
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "podofo"]
path = podofo
url = https://github.com/podofo/podofo
5 changes: 5 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
cmake_minimum_required(VERSION 3.16)

add_subdirectory(podofo)

add_subdirectory(src)
Empty file added README.md
Empty file.
1 change: 1 addition & 0 deletions podofo
Submodule podofo added at 98fd33
Empty file added src/CMakeLists.txt
Empty file.
5 changes: 5 additions & 0 deletions src/bind.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#include <emscripten/bind.h>

EMSCRIPTEN_BINDINGS(PODOFO)
{
}

0 comments on commit b2be52b

Please sign in to comment.