# Julia on M1 Macs

**URL:** https://discourse.julialang.org/t/julia-on-m1-macs/55448
**Category:** Community
**Tags:** mac-m1
**Created:** [February 17, 2021, 9:39am UTC](https://discourse.julialang.org/t/julia-on-m1-macs/55448 "2021-02-17T09:39:15Z")
**Posts on this page:** 1
**Showing post:** 13

<div class="post-metadata">

### Author: ![giordano](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/giordano/32/2166_2.png) [@giordano](https://discourse.julialang.org/u/giordano)
#### Post date: [June 3, 2021, 11:46am UTC](https://discourse.julialang.org/t/julia-on-m1-macs/55448/13 "2021-06-03T11:46:04Z")

</div>

Not exactly the same, but you can run CI on aarch64 Linux with Drone:

> [@Testing on ARM with Drone CI](https://discourse.julialang.org/t/testing-on-arm-with-drone-ci/25871):
>
> [Drone CI](https://drone.io/) is a free and open-source continuous integration platform and allows running tests for Julia packages on ARM architecture. You can install a local instance of Drone or use Drone Cloud at [https://cloud.drone.io/](https://cloud.drone.io/) Documentation of Drone is at [https://docs.drone.io/](https://docs.drone.io/). The .drone.yml script to add to the top-directory of your repository to run tests looks like the following: --- kind: pipeline name: linux - arm - Julia 1.0 platform: os: linux arch: arm steps: - name: build image: …

or more recent setup:

> [@Testing Julia packages on x86\_64 Alpine Linux with Drone CI](https://discourse.julialang.org/t/testing-julia-packages-on-x86-64-alpine-linux-with-drone-ci/57313):
>
> [Alpine Linux](https://alpinelinux.org/) is a lightweight Linux distributions, the base installation can be as little as 5-6 MiB. It’s different from most common distributions in that it’s based on the [musl C library](https://www.musl-libc.org/). There have already been a few official binaries of Julia for the musl C library (and so for Alpine Linux), but v1.6-rc2 is the first release where [JLL packages](https://docs.binarybuilder.org/stable/jll/), widely common in the ecosystem, will work properly with musl. It’s now a good time to start testing some packages, especially those calling into b…

Of course you aren’t going to catch any bugs specific to `aarch64-apple-darwin`, but that’s a good starting point.

For example I’m not using Drone in [`Measurements.jl`](https://github.com/JuliaPhysics/Measurements.jl) but doing so would have caught [Don't run `ccall` test on platforms that don't allow it by giordano · Pull Request #105 · JuliaPhysics/Measurements.jl · GitHub](https://github.com/JuliaPhysics/Measurements.jl/pull/105) much earlier and this makes tests pass on `aarch64-apple-darwin` as well.

---

_[View the full topic](https://discourse.julialang.org/t/julia-on-m1-macs/55448)._
