Skip to content

Commit

Permalink
Add additional x86_64 build that doesn't require mbedtls
Browse files Browse the repository at this point in the history
Builtin (static) mbedtls will allow to try AtomVM on most recent x86_64 Linux
systems with less friction.

Signed-off-by: Davide Bettio <davide@uninstall.it>
  • Loading branch information
bettio committed Dec 8, 2023
1 parent 5b4cf54 commit db86ddc
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/build-linux-artifacts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,22 @@ jobs:
tag: "22.04"
cflags: ""

- arch: "x86_64"
build_name: "linux-x86_64-static-mbedtls"
docker_image: "ubuntu"
platform: "amd64"
tag: "18.04"
cflags: ""
cmake_opts: "-DAVM_STATIC_MBEDTLS=ON"
install_deps: |
apt update &&
apt install -y file gcc g++ binutils make doxygen gperf zlib1g-dev libmbedtls-dev wget tzdata &&
apt purge -y cmake &&
wget https://cmake.org/files/v3.13/cmake-3.13.5-Linux-x86_64.tar.gz &&
tar xf cmake-3.13.5-Linux-x86_64.tar.gz &&
mv cmake-3.13.5-Linux-x86_64 /opt/cmake-3.13.5 &&
ln -sf /opt/cmake-3.13.5/bin/* /usr/bin/
- arch: "x86_64"
build_name: "linux-x86_64"
docker_image: "ubuntu"
Expand Down

0 comments on commit db86ddc

Please sign in to comment.