Skip to content

Commit

Permalink
CI: Migrate ARM64 builds from TravisCI to CircleCI
Browse files Browse the repository at this point in the history
  • Loading branch information
kleisauke committed Jun 21, 2024
1 parent 164d308 commit b78c510
Show file tree
Hide file tree
Showing 4 changed files with 37 additions and 29 deletions.
35 changes: 35 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
version: 2.1

workflows:
build:
jobs:
- linux-arm64-glibc-net-8:
filters:
tags:
only: /^v.*/
- linux-arm64-musl-net-8:
filters:
tags:
only: /^v.*/

jobs:
linux-arm64-glibc-net-8:
resource_class: arm.medium
machine:
image: ubuntu-2204:current
steps:
- checkout
- run: |
sudo docker run -dit --name netvips -e CI -v "$(pwd):/mnt/netvips" -w /mnt/netvips mcr.microsoft.com/dotnet/sdk:8.0-bookworm-slim-arm64v8
sudo docker exec netvips sh -c "apt-get update && apt-get install -y fontconfig-config"
- run: sudo docker exec netvips bash -c "./build.sh"
linux-arm64-musl-net-8:
resource_class: arm.medium
machine:
image: ubuntu-2204:current
steps:
- checkout
- run: |
sudo docker run -dit --name netvips -e CI -v "$(pwd):/mnt/netvips" -w /mnt/netvips mcr.microsoft.com/dotnet/sdk:8.0-alpine3.19-arm64v8
sudo docker exec netvips sh -c "apk add bash font-noto --update-cache"
- run: sudo docker exec netvips bash -c "./build.sh"
23 changes: 0 additions & 23 deletions .travis.yml

This file was deleted.

4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# NetVips

[![NuGet](https://img.shields.io/nuget/v/NetVips.svg)](https://www.nuget.org/packages/NetVips)
[![CI status (x64 Linux, macOS and Windows)](https://github.com/kleisauke/net-vips/workflows/CI/badge.svg?branch=master)](https://github.com/kleisauke/net-vips/actions)
[![CI status (Linux ARM64v8)](https://app.travis-ci.com/kleisauke/net-vips.svg?branch=master)](https://app.travis-ci.com/kleisauke/net-vips)
[![CI status (x64 Linux, macOS and Windows)](https://github.com/kleisauke/net-vips/workflows/CI/badge.svg)](https://github.com/kleisauke/net-vips/actions)
[![CI status (Linux ARM64v8)](https://circleci.com/gh/kleisauke/net-vips.svg?style=shield)](https://circleci.com/gh/kleisauke/net-vips)
[![CI status (NetVips nightly packaging)](https://ci.appveyor.com/api/projects/status/d2r9uanb5yij07pt/branch/master?svg=true)](https://ci.appveyor.com/project/kleisauke/net-vips/branch/master)

This NuGet package provides a .NET binding for the [libvips image processing library](https://libvips.github.io/libvips).
Expand Down
4 changes: 0 additions & 4 deletions build/Shims.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
using Nuke.Common.CI;
using Nuke.Common.CI.AppVeyor;
using Nuke.Common.CI.GitHubActions;
using Nuke.Common.CI.TravisCI;

public partial class Build
{
Expand All @@ -36,9 +35,6 @@ public static string GetVersion()
case GitHubActions gitHubActions:
buildNumber = gitHubActions.RunNumber;
break;
case TravisCI travis:
buildNumber = travis.BuildNumber;
break;
case AppVeyor appVeyor:
buildNumber = appVeyor.BuildNumber;
break;
Expand Down

0 comments on commit b78c510

Please sign in to comment.