Skip to content

Commit 5f4ddc9

Browse files
committed
Bump all systems and include qemu_aarch64
1 parent 175349c commit 5f4ddc9

File tree

5 files changed

+51
-22
lines changed

5 files changed

+51
-22
lines changed

.circleci/config.yml

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ version: 2.1
22

33
defaults: &defaults
44
docker:
5-
- image: hexpm/elixir:1.18.4-erlang-27.3.4.2-ubuntu-jammy-20250714
5+
- image: hexpm/elixir:1.18.4-erlang-27.3.4.3-ubuntu-jammy-20250819
66
environment:
77
MIX_ENV: prod
88

@@ -131,6 +131,12 @@ build_grisp2: &build_grisp2
131131
- ~/deploy
132132

133133
jobs:
134+
build_qemu_aarch64:
135+
<<: *defaults
136+
environment:
137+
MIX_TARGET: qemu_aarch64
138+
<<: *build
139+
134140
build_osd32mp1:
135141
<<: *defaults
136142
environment:
@@ -224,6 +230,11 @@ jobs:
224230
- run:
225231
name: Create Artifacts Dir
226232
command: mkdir -p ~/deploy
233+
- run:
234+
name: qemu_aarch64
235+
command: echo "qemu_aarch64" > .target
236+
- restore_cache:
237+
key: nerves/deploy/{{ checksum ".target" }}-{{ .Revision }}-{{ .Environment.CIRCLE_TAG }}
227238
- run:
228239
name: osd32mp1
229240
command: echo "osd32mp1" > .target
@@ -308,6 +319,11 @@ jobs:
308319
workflows:
309320
build_deploy:
310321
jobs:
322+
- build_qemu_aarch64:
323+
context: org-global
324+
filters:
325+
tags:
326+
only: /.*/
311327
- build_osd32mp1:
312328
context: org-global
313329
filters:
@@ -380,6 +396,7 @@ workflows:
380396
- deploy:
381397
context: org-global
382398
requires:
399+
- build_qemu_aarch64
383400
- build_osd32mp1
384401
- build_rpi5
385402
- build_rpi4

.tool-versions

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
erlang 27.3.4.2
1+
erlang 27.3.4.3
22
elixir 1.18.4-otp-27

config/qemu_aarch64.exs

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
import Config
2+
3+
# Configure the network using vintage_net
4+
# See https://github.com/nerves-networking/vintage_net for more information
5+
config :vintage_net,
6+
config: [
7+
{"usb0", %{type: VintageNetDirect}},
8+
{"eth0", %{type: VintageNetEthernet, ipv4: %{method: :dhcp}}}
9+
]

mix.exs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@ defmodule CircuitsQuickstart.MixProject do
1717
:x86_64,
1818
:npi_imx6ull,
1919
:grisp2,
20-
:mangopi_mq_pro
20+
:mangopi_mq_pro,
21+
:qemu_aarch64
2122
]
2223

2324
def project do
@@ -77,7 +78,8 @@ defmodule CircuitsQuickstart.MixProject do
7778
{:nerves_system_x86_64, "~> 1.31", runtime: false, targets: :x86_64},
7879
{:nerves_system_npi_imx6ull, "~> 0.19", runtime: false, targets: :npi_imx6ull},
7980
{:nerves_system_grisp2, "~> 0.15", runtime: false, targets: :grisp2},
80-
{:nerves_system_mangopi_mq_pro, "~> 0.13", runtime: false, targets: :mangopi_mq_pro}
81+
{:nerves_system_mangopi_mq_pro, "~> 0.13", runtime: false, targets: :mangopi_mq_pro},
82+
{:nerves_system_qemu_aarch64, "~> 0.1", runtime: false, targets: :qemu_aarch64}
8183
]
8284
end
8385

0 commit comments

Comments
 (0)