Skip to content

Commit

Permalink
Always run 'apt-get update' before 'installing' (aws#1391)
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewhop authored Jan 10, 2024
1 parent 7dc34d3 commit 3cd2542
Show file tree
Hide file tree
Showing 5 changed files with 26 additions and 9 deletions.
1 change: 1 addition & 0 deletions .github/workflows/actions-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ jobs:
uses: actions/checkout@v3
- name: Sanity Test Run
run: |
sudo apt-get update
sudo apt-get install ninja-build
cmake -GNinja -Btest_build_dir
ninja -C test_build_dir run_tests
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/aws-lc-rs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ jobs:
args: rust-script
- name: Install OS Dependencies
run: |
sudo apt-get update
sudo apt-get -y --no-install-recommends install cmake gcc clang ninja-build golang
- name: Remove aws-lc submodule from crate directory
working-directory: ./aws-lc-rs/aws-lc-sys
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/codecov-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Install lcov
run: sudo apt-get -y install lcov
run: |
sudo apt-get update
sudo apt-get -y install lcov
- uses: actions/checkout@v4
- name: Run Code Coverage Build
run: ./util/codecov-ci.sh ${{ runner.temp }}/build
Expand Down
16 changes: 12 additions & 4 deletions .github/workflows/cross-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,31 +12,39 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Install qemu
run: sudo apt-get -y install qemu-user qemu-user-binfmt
run: |
sudo apt-get update
sudo apt-get -y install qemu-user qemu-user-binfmt
- uses: actions/checkout@v4
- name: PPC64 Build/Test
run: tests/ci/run_cross_tests.sh ppc64 powerpc64-unknown-linux-gnu "-DCMAKE_BUILD_TYPE=Release" "-DCMAKE_BUILD_TYPE=Release -DFIPS=1 -DBUILD_SHARED_LIBS=1"
ppc32-non-fips-build-test:
runs-on: ubuntu-latest
steps:
- name: Install qemu
run: sudo apt-get -y install qemu-user qemu-user-binfmt
run: |
sudo apt-get update
sudo apt-get -y install qemu-user qemu-user-binfmt
- uses: actions/checkout@v4
- name: PPC32 Build/Test
run: tests/ci/run_cross_tests.sh ppc powerpc-unknown-linux-gnu "-DCMAKE_BUILD_TYPE=Release"
ppc32-fips-build-test:
runs-on: ubuntu-latest
steps:
- name: Install qemu
run: sudo apt-get -y install qemu-user qemu-user-binfmt
run: |
sudo apt-get update
sudo apt-get -y install qemu-user qemu-user-binfmt
- uses: actions/checkout@v4
- name: PPC32 Build/Test
run: tests/ci/run_cross_tests.sh ppc powerpc-unknown-linux-gnu "-DCMAKE_BUILD_TYPE=Release -DFIPS=1 -DBUILD_SHARED_LIBS=1"
ppc64le-build-test:
runs-on: ubuntu-latest
steps:
- name: Install qemu
run: sudo apt-get -y install qemu-user qemu-user-binfmt
run: |
sudo apt-get update
sudo apt-get -y install qemu-user qemu-user-binfmt
- uses: actions/checkout@v4
- name: PPC64LE Build/Test
run: tests/ci/run_cross_tests.sh ppc64le powerpc64le-unknown-linux-gnu "-DCMAKE_BUILD_TYPE=Release" "-DCMAKE_BUILD_TYPE=Release -DFIPS=1 -DBUILD_SHARED_LIBS=1"
13 changes: 9 additions & 4 deletions .github/workflows/integrations.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ jobs:
steps:
- name: Install OS Dependencies
run: |
sudo apt-get update
sudo apt-get -y --no-install-recommends install cmake gcc ninja-build golang make
- uses: actions/checkout@v3
- name: Run integration build
Expand All @@ -31,7 +32,8 @@ jobs:
steps:
- name: Install OS Dependencies
run: |
apt-get update && apt-get -y --no-install-recommends install cmake gcc g++ ninja-build golang make python3 python3-sphinx autoconf libtool pkg-config git libc++-dev
apt-get update
apt-get -y --no-install-recommends install cmake gcc g++ ninja-build golang make python3 python3-sphinx autoconf libtool pkg-config git libc++-dev
- uses: actions/checkout@v3
- name: Run integration build
run: |
Expand All @@ -41,7 +43,8 @@ jobs:
steps:
- name: Install OS Dependencies
run: |
sudo apt-get update && sudo apt-get -y --no-install-recommends install cmake gcc ninja-build golang make libpcap-dev binutils-dev
sudo apt-get update
sudo apt-get -y --no-install-recommends install cmake gcc ninja-build golang make libpcap-dev binutils-dev
- uses: actions/checkout@v3
- name: Run integration build
run: |
Expand All @@ -51,7 +54,8 @@ jobs:
steps:
- name: Install OS Dependencies
run: |
sudo apt-get update && sudo apt-get -y --no-install-recommends install cmake gcc ninja-build golang make
sudo apt-get update
sudo apt-get -y --no-install-recommends install cmake gcc ninja-build golang make
- uses: actions/checkout@v3
- name: Run trousers build
run: |
Expand All @@ -61,7 +65,8 @@ jobs:
steps:
- name: Install OS Dependencies
run: |
sudo apt-get update && sudo apt-get -y --no-install-recommends install cmake gcc ninja-build golang make
sudo apt-get update
sudo apt-get -y --no-install-recommends install cmake gcc ninja-build golang make
- uses: actions/checkout@v3
- name: Run ntp build
run: |
Expand Down

0 comments on commit 3cd2542

Please sign in to comment.