Skip to content

Commit

Permalink
Merge pull request atomvm#928 from petermm/ci-freebsd-improve
Browse files Browse the repository at this point in the history
CI improve FreeBSD

Bump cross-platform-actions/action to v0.21.1.
Use qemu hypervisor, for improved stability, but less speed.
Proper mem config + minor improvements.

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 Nov 5, 2023
2 parents b15cb45 + 45346e8 commit f908ef4
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/build-and-test-on-freebsd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,17 +36,19 @@ jobs:
ATOMVM_EXAMPLE: "atomvm-example"
steps:

- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Build and Test on FreeBSD
id: build-and-test-on-freebsd
uses: cross-platform-actions/[email protected].0
timeout-minutes: 20
uses: cross-platform-actions/[email protected].1
timeout-minutes: 25
with:
memory: 1024
memory: 8G
hypervisor: qemu
shell: sh
operating_system: freebsd
version: '13.2'
sync_files: runner-to-vm
environment_variables: 'ATOMVM_EXAMPLE'
run: |
Expand All @@ -55,7 +57,7 @@ jobs:
echo "%%"
echo "**freebsd-version:**"
freebsd-version
sudo pkg install -y curl cmake gperf erlang elixir
sudo pkg install -y cmake gperf erlang elixir
echo "**uname:**"
uname -a
echo "**C Compiler version:**"
Expand Down

0 comments on commit f908ef4

Please sign in to comment.