Complete IKS removable #50
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build Linux | |
on: | |
pull_request: | |
branches: | |
- master | |
- develop | |
push: | |
branches: | |
- master | |
- develop | |
jobs: | |
build-gcc: | |
runs-on: ubuntu-latest | |
steps: | |
- name: "Setup" | |
run: | | |
sudo apt-get update | |
sudo apt-get upgrade | |
sudo apt-get install -y libclang-9-dev | |
pip3 install conan==1.59.0 | |
- name: "Checkout LLA-SWIG" | |
uses: actions/checkout@v2 | |
with: | |
path: lla-swig | |
- name: "Checkout LLA" | |
uses: actions/checkout@v2 | |
with: | |
repository: islog/liblogicalaccess | |
ref: ${{ github.ref_name }} | |
path: lla | |
- name: "Checkout LLA-NFC" | |
uses: actions/checkout@v2 | |
with: | |
repository: islog/liblogicalaccess-libnfc | |
ref: ${{ github.ref_name }} | |
path: lla-nfc | |
- name: "Checkout cppkcs11" | |
uses: actions/checkout@v2 | |
with: | |
repository: islog/cppkcs11 | |
path: cppkcs | |
- name: "Setup LLA" | |
run : | | |
sudo apt-get update | |
sudo apt-get install -y libpcsclite-dev | |
conan export . islog/${{ github.ref_name }} | |
working-directory: lla | |
- name: "Setup LLA-NFC" | |
run : | | |
sudo apt-get update | |
sudo apt-get install -y libusb-dev | |
conan export . islog/${{ github.ref_name }} | |
cd vendor/libnfc | |
conan export . cis/stable | |
working-directory: lla-nfc | |
- name: "Setup cppkcs11" | |
run : | | |
conan export . | |
working-directory: cppkcs | |
- name: "Build LLA-SWIG" | |
run: | | |
./build-linux.sh | |
./build-linux_native.sh | |
cd sources | |
dotnet build LibLogicalAccessNet.sln /p:Configuration=ReleaseCE | |
working-directory: lla-swig |