Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
pan3793 committed Nov 23, 2024
1 parent 6f4d4c9 commit ca16cbb
Showing 1 changed file with 12 additions and 9 deletions.
21 changes: 12 additions & 9 deletions .github/workflows/build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,19 +81,21 @@ jobs:
check-latest: false
- name: Prepare Environment
run: |
WORKING_DIR=$PWD
cd dev-support/docker
export DEBIAN_FRONTEND=noninteractive
export DEBCONF_TERSE=true
######
# Platform package dependency resolver
######
chmod a+x dev-support/docker/pkg-resolver/*.sh pkg-resolver/*.py
chmod a+r dev-support/docker/pkg-resolver/*.json
chmod a+x pkg-resolver/*.sh pkg-resolver/*.py
chmod a+r pkg-resolver/*.json
######
# Install packages from apt
######
apt-get -q update
apt-get -q install -y --no-install-recommends python3
apt-get -q install -y --no-install-recommends $(dev-support/docker/pkg-resolver/resolve.py ubuntu:focal)
apt-get -q install -y --no-install-recommends $(pkg-resolver/resolve.py ubuntu:focal)
apt-get clean
rm -rf /var/lib/apt/lists/*
RUN locale-gen en_US.UTF-8
Expand All @@ -117,12 +119,13 @@ jobs:
#######
# Install packages
#######
dev-support/docker/pkg-resolver/install-common-pkgs.sh
dev-support/docker/pkg-resolver/install-spotbugs.sh ubuntu:focal
dev-support/docker/pkg-resolver/install-boost.sh ubuntu:focal
dev-support/docker/pkg-resolver/install-protobuf.sh ubuntu:focal
dev-support/docker/pkg-resolver/install-hadolint.sh ubuntu:focal
dev-support/docker/pkg-resolver/install-intel-isa-l.sh ubuntu:focal
pkg-resolver/install-common-pkgs.sh
pkg-resolver/install-spotbugs.sh ubuntu:focal
pkg-resolver/install-boost.sh ubuntu:focal
pkg-resolver/install-protobuf.sh ubuntu:focal
pkg-resolver/install-hadolint.sh ubuntu:focal
pkg-resolver/install-intel-isa-l.sh ubuntu:focal
cd $WORKING_DIR
- name: Build
run: mvn ${{ matrix.modules }} -Pnative clean install -am -DskipTests
- name: Test
Expand Down

0 comments on commit ca16cbb

Please sign in to comment.