Skip to content

Commit

Permalink
Update javacard SDK in CI/CD
Browse files Browse the repository at this point in the history
  • Loading branch information
af-anssi committed Apr 12, 2023
1 parent 625119a commit 0384287
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ jobs:
sudo apt-get update && sudo apt-get install --reinstall adoptopenjdk-8-hotspot;
sudo update-java-alternatives -s adoptopenjdk-8-hotspot-amd64;
# 3) Get Javacard SDKs
git clone https://github.com/martinpaljak/oracle_javacard_sdks && mv oracle_javacard_sdks/jc303_kit/ /tmp/ && mv oracle_javacard_sdks/jc305u3_kit/ /tmp/ &&rm -rf oracle_javacard_sdks;
git clone https://github.com/martinpaljak/oracle_javacard_sdks && mv oracle_javacard_sdks/jc304_kit/ /tmp/ && mv oracle_javacard_sdks/jc305u3_kit/ /tmp/ &&rm -rf oracle_javacard_sdks;
# 4) Compile our applet
cat build.xml | sed 's/<cap /<cap export="SmartPGPApplet" /' > /tmp/build.xml && mv /tmp/build.xml ./; # export jar for simulator
JC_HOME=/tmp/jc303_kit/ ant;
JC_HOME=/tmp/jc304_kit/ ant;
# 5) Clone jcardsim repository, compile and install
git clone https://github.com/licel/jcardsim && cd jcardsim && git fetch origin pull/155/head:pr155 && git config --global user.name "John Doe" && git merge pr155 -m "AA" && cd -;
# Patch random
Expand Down

0 comments on commit 0384287

Please sign in to comment.