Skip to content

Commit

Permalink
build: Use ubuntu-22.04 distro due to try to use gcc-12 for atomic op…
Browse files Browse the repository at this point in the history
…erations on riscv64

Signed-off-by: Hiroshi Hatake <[email protected]>
  • Loading branch information
cosmo0920 committed Oct 25, 2024
1 parent dcdf8be commit ec674fa
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/unit-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -187,18 +187,18 @@ jobs:
id: build-and-test-on-qemu
with:
arch: ${{ matrix.arch }}
distro: ubuntu20.04
distro: ubuntu22.04
shell: /bin/bash
dockerRunArgs: |
--volume "/var/lib/dbus/machine-id:/var/lib/dbus/machine-id"
--volume "/etc/machine-id:/etc/machine-id"
install: |
apt-get update
apt-get install -y gcc-9 g++-9 libyaml-dev cmake flex bison libssl-dev #clang-6.0 libsystemd-dev
apt-get install -y gcc-12 g++-12 libyaml-dev cmake flex bison libssl-dev #clang-6.0 libsystemd-dev
# ln -s /usr/bin/llvm-symbolizer-6.0 /usr/bin/llvm-symbolizer || true
update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-9 90
update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-9 90
update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-12 90
update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-12 90
# update-alternatives --install /usr/bin/clang clang /usr/bin/clang-6.0 90
run: |
cd build
Expand Down

0 comments on commit ec674fa

Please sign in to comment.