Skip to content

Commit

Permalink
feat: add sign-sdk build process and linking (#6)
Browse files Browse the repository at this point in the history
  • Loading branch information
M0Rf30 authored Mar 6, 2022
1 parent 58f5634 commit c64f008
Show file tree
Hide file tree
Showing 485 changed files with 64,172 additions and 29,151 deletions.
22 changes: 13 additions & 9 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,7 @@ on:
jobs:
# This workflow contains a single job called "build"
gradle:
strategy:
matrix:
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-java@v2
Expand All @@ -32,21 +29,28 @@ jobs:
- name: Execute Gradle build
run: |
gradle -b cie-java/build.gradle standalone
- name: Install Dependencies
run: sudo apt install -y g++ libpcsclite-dev openjdk-11-jre-headless libssl-dev pkg-config python3-pip unzip libcrypto++-dev libcrypto++6 libpcsclite1 libssl1.1 pcscd
run: >
sudo apt install -y g++ libcrypto++-dev
libcrypto++6 libcurl4-openssl-dev libfontconfig1-dev
libfreetype6-dev libpcsclite-dev libpcsclite1 libpng-dev
libssl-dev libssl1.1 libxml2 libxml2-dev openjdk-11-jre-headless
pcscd pkg-config python3-pip unzip;
curl -sL "https://github.com/M0Rf30/cie-middleware-linux/releases/download/podofo-1.4.2/libpodofo-1.4.2.tar.gz" -o libpodofo.tar.gz;
tar xf libpodofo.tar.gz --directory=libs/lib
- uses: actions/setup-python@v1
with:
python-version: '3.x'
python-version: "3.x"
- run: pip install meson ninja
env:
CC: gcc
- run: meson builddir libcie-pkcs11
- run: meson builddir libs
- run: meson configure -Dprefix=/usr builddir
- run: meson compile -C builddir
- uses: actions/upload-artifact@v1
if: failure()
with:
name: Linux_Meson_Testlog
path: builddir/meson-logs/testlog.txt
path: builddir/meson-logs/testlog.txt
7 changes: 7 additions & 0 deletions .shellcheckrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
enable=all
source-path=SCRIPTDIR
disable=SC2154

# If you're having issues with shellcheck following source, disable the errors via:
# disable=SC1090
# disable=SC1091
84 changes: 0 additions & 84 deletions libcie-pkcs11/meson.build

This file was deleted.

212 changes: 0 additions & 212 deletions libcie-sign-sdk/.clang-format

This file was deleted.

16 changes: 0 additions & 16 deletions libcie-sign-sdk/.vscode/c_cpp_properties.json

This file was deleted.

Loading

0 comments on commit c64f008

Please sign in to comment.