Skip to content

Commit

Permalink
Use apt erlang instead of setup-beam in esp-idf container
Browse files Browse the repository at this point in the history
Also fix git configuration

Signed-off-by: Paul Guyot <pguyot@kallisys.net>
  • Loading branch information
pguyot committed May 7, 2024
1 parent 435ab29 commit ba765a0
Showing 1 changed file with 2 additions and 11 deletions.
13 changes: 2 additions & 11 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,6 @@ jobs:
idf-version:
- 'v5.1.3'
- 'v5.2.1'
otp:
- "26"
elixir_version:
- "1.16"

container: espressif/idf:release-v5.2
steps:
Expand All @@ -33,24 +29,19 @@ jobs:
with:
path: AtomVM/src/platform/esp32/components/

- uses: erlef/setup-beam@v1
with:
otp-version: ${{ matrix.otp }}
elixir-version: ${{ matrix.elixir_version }}

- name: Install dependencies to build host AtomVM
run: |
set -eu
apt update
DEBIAN_FRONTEND=noninteractive apt install -y -q \
doxygen \
doxygen erlang-base erlang-dialyzer elixir \
libglib2.0-0 libpixman-1-0 \
gcc g++ zlib1g-dev libsdl2-2.0-0 libslirp0 libmbedtls-dev
# needed for generating AtomVM version when running in a docker container
- name: Configure Git
run: |
git config --global --add safe.directory /__w/AtomVM/AtomVM
git config --global --add safe.directory /__w/*/AtomVM
echo -n "git rev-parse: "
git rev-parse --short HEAD
Expand Down

0 comments on commit ba765a0

Please sign in to comment.