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 Windows | |
on: | |
pull_request: | |
branches: | |
- master | |
- develop | |
push: | |
branches: | |
- master | |
- develop | |
jobs: | |
build: | |
runs-on: windows-latest | |
strategy: | |
matrix: | |
arch: [x86, x86_64] | |
steps: | |
- name: "Setup" | |
run: | | |
choco install llvm --version=9.0.0 --allow-downgrade | |
choco install gitversion.portable | |
pip3 install conan==1.59.0 | |
- name: Setup dotnet | |
uses: actions/setup-dotnet@v1 | |
with: | |
dotnet-version: | | |
6.0.x | |
- name: Add msbuild to PATH | |
uses: microsoft/[email protected] | |
- name: "Checkout LLA-SWIG" | |
uses: actions/checkout@v2 | |
with: | |
path: lla-swig | |
fetch-depth: 0 | |
- name: "Checkout LLA" | |
uses: actions/checkout@v2 | |
with: | |
repository: islog/liblogicalaccess | |
ref: ${{ github.ref_name }} | |
path: lla | |
- name: "Checkout cppkcs11" | |
uses: actions/checkout@v2 | |
with: | |
repository: islog/cppkcs11 | |
path: cppkcs | |
- name: "Setup LLA" | |
run : | | |
conan export . islog/${{ github.ref_name }} | |
working-directory: lla | |
- name: "Setup cppkcs11" | |
run : | | |
conan export . | |
working-directory: cppkcs | |
- name: "Build LLA-SWIG" | |
run: | | |
./build-windows.ps1 -arch ${{matrix.arch}} -build_type Release | |
working-directory: lla-swig |