File tree Expand file tree Collapse file tree 4 files changed +35
-82
lines changed Expand file tree Collapse file tree 4 files changed +35
-82
lines changed Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
- name : Build
1
+ name : build
2
2
3
- on : [push]
3
+ on :
4
+ push :
5
+ pull_request :
6
+ workflow_dispatch :
4
7
5
8
jobs :
6
-
7
- build :
8
- name : Build
9
- runs-on : ubuntu-latest
10
- container : colemancda/meta-swift
11
- strategy :
12
- matrix :
13
- machine : [beaglebone-yocto, qemuarm64]
14
- steps :
15
- - name : Checkout
16
- uses : actions/checkout@v3
17
- - name : Build
18
- run : |
19
- export SRC_ROOT=$GITHUB_WORKSPACE
20
- export POKY_DIR=/tmp/poky
21
- export MACHINE=${{ matrix.machine }}
22
- cd /tmp/
23
- git clone --branch dunfell-23.0.20-cmake-3.22.3 https://github.com/MillerTechnologyPeru/poky.git
24
- cd $SRC_ROOT
25
- ./build.sh
9
+ yocto-arm64 :
10
+ runs-on : ubuntu-24.04
11
+ container :
12
+ steps :
13
+ - name : Packages
14
+ run : |
15
+ sudo apt-get update
16
+ sudo apt install -y build-essential chrpath cpio debianutils diffstat file gawk gcc git iputils-ping libacl1 liblz4-tool locales python3 python3-git python3-jinja2 python3-pexpect python3-pip python3-subunit socat texinfo unzip wget xz-utils zstd
17
+ echo 0 | sudo tee /proc/sys/kernel/apparmor_restrict_unprivileged_userns
18
+ - name : Checkout Poky
19
+ uses : actions/checkout@v4
20
+ with :
21
+ repository : yoctoproject/poky
22
+ path : poky
23
+ ref : scarthgap
24
+ fetch_depth : 0
25
+ - name : Checkout Swift layer
26
+ uses : actions/checkout@v4
27
+ with :
28
+ path : poky/meta-swift
29
+ fetch_depth : 0
30
+ - name : Build
31
+ run : |
32
+ cd $GITHUB_WORKSPACE/poky
33
+ source oe-init-build-env
34
+ bitbake-layers add-layer ../meta-swift
35
+ rm -f conf/local.conf
36
+ echo 'MACHINE = "qemuarm64"' > conf/local.conf
37
+ echo 'INHERIT += "rm_work"' >> conf/local.conf
38
+ bitbake swift-hello-world
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments