Skip to content

Commit

Permalink
Set up ARM64 CI build on Cirrus CI
Browse files Browse the repository at this point in the history
  • Loading branch information
nightlark committed May 10, 2024
1 parent 916745b commit 8df96d9
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 5 deletions.
18 changes: 15 additions & 3 deletions .cirrus.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,23 @@
freebsd_instance:
image_family: freebsd-14-0

task:
name: freebsd
freebsd_instance:
image_family: freebsd-14-0
install_script: pkg install -y cmake
build_script: |
mkdir -p build && cd build
cmake -DENABLE_NETIF_TESTS=ON ..
make
ctest --verbose
ifconfig
task:
name: arm64
arm_container:
image: alpine:latest
install_script: apk add --no-cache build-base cmake ninja
build_script: |
mkdir -p build && cd build
cmake -DENABLE_NETIF_TESTS=ON ..
make
ctest --verbose
ifconfig
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ auto addrs_all = gmlc::netif::getInterfaceAddressesAll(); // Get all addresses (
| OS | CPU Arch | Status |
| -------------- | ----------- | ----------------------------------------------------------------------------------------------------------------------------------------------- |
| FreeBSD | x86_64 | [![Build Status](http://api.cirrus-ci.com/github/GMLC-TDC/netif.svg)](https://cirrus-ci.com/github/GMLC-TDC/netif) |
| Linux (Alpine) | ARM/AArch64 | [![Build Status](https://cloud.drone.io/api/badges/GMLC-TDC/netif/status.svg)](https://cloud.drone.io/GMLC-TDC/netif) |
| Linux (Alpine) | AArch64 | [![Build Status](http://api.cirrus-ci.com/github/GMLC-TDC/netif.svg)](https://cirrus-ci.com/github/GMLC-TDC/netif) |
| Linux (Ubuntu) | x86_64 | [![CI](https://github.com/GMLC-TDC/netif/actions/workflows/build.yml/badge.svg)](https://github.com/GMLC-TDC/netif/actions/workflows/build.yml) |
| macOS | x86_64 | [![CI](https://github.com/GMLC-TDC/netif/actions/workflows/build.yml/badge.svg)](https://github.com/GMLC-TDC/netif/actions/workflows/build.yml) |
| macOS | ARM64 | [![CI](https://github.com/GMLC-TDC/netif/actions/workflows/build.yml/badge.svg)](https://github.com/GMLC-TDC/netif/actions/workflows/build.yml) |
| Windows 10 | x86_64 | [![CI](https://github.com/GMLC-TDC/netif/actions/workflows/build.yml/badge.svg)](https://github.com/GMLC-TDC/netif/actions/workflows/build.yml) |

## Contributing
Expand Down

0 comments on commit 8df96d9

Please sign in to comment.