Skip to content

Commit

Permalink
Remove unnecessary installation commands
Browse files Browse the repository at this point in the history
  • Loading branch information
Shervil Patel committed Jul 2, 2024
1 parent bff5ba5 commit 7e7a117
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/integrations.yml
Original file line number Diff line number Diff line change
Expand Up @@ -194,10 +194,7 @@ jobs:
steps:
- name: Install OS Dependencies
run: |
wget -O - https://apt.corretto.aws/corretto.key | sudo gpg --dearmor -o /usr/share/keyrings/corretto-keyring.gpg && \
echo "deb [signed-by=/usr/share/keyrings/corretto-keyring.gpg] https://apt.corretto.aws stable main" | sudo tee /etc/apt/sources.list.d/corretto.list
sudo apt-get update
sudo apt-get install -y java-11-amazon-corretto-jdk
sudo apt-get -y --no-install-recommends install \
curl gnupg build-essential lcov wget python3-pip cmake gcc ninja-build golang
sudo pip3 install gcovr
Expand Down
4 changes: 1 addition & 3 deletions tests/ci/integration/run_accp_integration.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,12 @@ ACCP_SRC="${SCRATCH_FOLDER}/amazon-corretto-crypto-provider"

function build_and_test_accp() {
pushd "${ACCP_SRC}"
# Testing non-FIPS is the default.
testing_fips=false
export JAVA_HOME=$(readlink -f /usr/bin/javac | sed "s:/bin/javac::")
# Assign the JDK version we're testing as the system's default JDK and
# assign JAVA_HOME variable to the path. Otherwise, Ubuntu will
# default to the newest version of Java on the system.
export PATH=$JAVA_HOME/bin:$PATH
./gradlew -DFIPS=$testing_fips -DAWSLC_SRC_DIR="${SRC_ROOT}" -DAWSLC_GITVERSION="HEAD" test
./gradlew -DAWSLC_SRC_DIR="${SRC_ROOT}" -DAWSLC_GITVERSION="HEAD" test
popd
}

Expand Down

0 comments on commit 7e7a117

Please sign in to comment.