Skip to content

Commit

Permalink
Merge pull request #1233 from bettio/fix-release-workflows
Browse files Browse the repository at this point in the history
Fix release workflows

Revert 85ca4ce for the mentioned files.

These changes are made under both the "Apache 2.0" and the "GNU Lesser General
Public License 2.1 or later" license terms (dual license).

SPDX-License-Identifier: Apache-2.0 OR LGPL-2.1-or-later
  • Loading branch information
bettio committed Jul 20, 2024
2 parents 3c96e75 + 81923c4 commit 3a107ae
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 7 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/build-libraries.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@ permissions:

jobs:
build-libraries:
runs-on: "ubuntu-24.04"
container: erlang:27
runs-on: "ubuntu-22.04"
strategy:
fail-fast: false

Expand All @@ -27,6 +26,11 @@ jobs:
with:
submodules: 'recursive'

- uses: erlef/setup-beam@v1
with:
otp-version: "24"
elixir-version: "1.11"

- name: "APT update"
run: sudo apt update -y

Expand Down
21 changes: 16 additions & 5 deletions .github/workflows/build-linux-artifacts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,27 +14,38 @@ on:
permissions:
contents: write

env:
otp_version: 24
elixir_version: 1.14

jobs:
compile_tests:
runs-on: ubuntu-24.04
container: erlang:27
runs-on: ubuntu-22.04
steps:
- name: Checkout repo
uses: actions/checkout@v4

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

- name: apt update
run: sudo apt update

- name: Install required packages
run: sudo apt install -y cmake gperf zlib1g-dev ninja-build
run: sudo apt install -y gperf

- name: Compile test modules
run: |
set -e
mkdir build_tests
cd build_tests
cmake .. -G Ninja -DAVM_WARNINGS_ARE_ERRORS=ON
ninja erlang_test_modules test_estdlib test_eavmlib test_alisp
cmake ..
make erlang_test_modules
make test_estdlib
make test_eavmlib
make test_alisp
- name: Upload test modules
uses: actions/upload-artifact@v4
Expand Down

0 comments on commit 3a107ae

Please sign in to comment.