File tree 3 files changed +36
-8
lines changed
3 files changed +36
-8
lines changed Original file line number Diff line number Diff line change @@ -21,10 +21,28 @@ runs:
21
21
echo "BITBAKE_TARGET=${{ inputs.bitbake_target }}"
22
22
echo "RELEASE=${{ inputs.repo_release }}"
23
23
echo "======================================================================"
24
+ - name : Clean the build dir
25
+ shell : bash
26
+ run : |
27
+ rm -rf ~/yocto-webkit-${{ inputs.repo_release }}
28
+ rm -rf ~/yocto-webkit-${{ inputs.repo_release }}.tar
29
+ - name : Download artifact
30
+ uses : actions/download-artifact@v4
31
+ with :
32
+ name : yocto-webkit-${{ inputs.repo_release }}
33
+ path : ~/
34
+ - name : Untar Work Dir
35
+ shell : bash
36
+ run : |
37
+ cd ~
38
+ tar -xf yocto-webkit-${{ inputs.repo_release }}.tar
39
+ rm -rf ~/yocto-webkit-${{ inputs.repo_release }}.tar
24
40
- name : Build
25
41
shell : bash
26
42
run : |
27
43
cd ~/yocto-webkit-${{ inputs.repo_release }}
44
+ mkdir ~/yocto-webkit-${{ inputs.repo_release }}/builds/
45
+ cp /local-host.conf ~/yocto-webkit-${{ inputs.repo_release }}/builds/
28
46
ulimit -n 4096
29
47
source sources/meta-webkit/.github/scripts/setup-environment ${{ inputs.bitbake_source }}
30
48
rm -rf tmp
Original file line number Diff line number Diff line change @@ -20,18 +20,28 @@ runs:
20
20
- name : Set bitbake environment
21
21
shell : bash
22
22
run : |
23
- mkdir -p ~/yocto-webkit-${{ inputs.repo_release }}/builds
24
- cp /local-host.conf ~/yocto-webkit-${{ inputs.repo_release }}/builds/
23
+ sudo apt-get install -y git git-lfs repo
24
+ mkdir -p ~/yocto-webkit-${{ inputs.repo_release }}
25
25
cd ~/yocto-webkit-${{ inputs.repo_release }}
26
- rm -rf sources .repo
27
26
repo init -u ${{ inputs.repo_url }} -m .github/manifest/manifest-${{ inputs.repo_release }}.xml -b ${{ inputs.repo_ref }}
28
27
repo sync --force-sync
29
28
pushd sources/meta-webkit
30
- git remote remove tmp || true
29
+ git config --global user.email "[email protected] "
30
+ git config --global user.name "meta-webkit CI Bot"
31
31
git remote add tmp ${{ inputs.repo_url }}
32
32
git fetch tmp main
33
33
git fetch tmp ${{ inputs.repo_ref }}:${{ inputs.repo_ref }}
34
34
git checkout ${{ inputs.repo_ref }}
35
35
git rebase tmp/main
36
36
popd
37
+ - name : Tar Work Dir
38
+ shell : bash
39
+ run : |
40
+ cd ~
41
+ tar -cf yocto-webkit-${{ inputs.repo_release }}.tar yocto-webkit-${{ inputs.repo_release }}
42
+ - name : Upload Tar Work Dir Artifact
43
+ uses : actions/upload-artifact@v4
44
+ with :
45
+ name : yocto-webkit-${{ inputs.repo_release }}
46
+ path : ~/yocto-webkit-${{ inputs.repo_release }}.tar
37
47
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ on: [pull_request]
3
3
jobs :
4
4
5
5
kirkstone-repo :
6
- runs-on : self-hosted
6
+ runs-on : ubuntu-22.04
7
7
if : " !contains(github.event.head_commit.message, 'ci skip')"
8
8
steps :
9
9
- uses : actions/checkout@v3
23
23
needs : kirkstone-repo
24
24
25
25
scarthgap-repo :
26
- runs-on : self-hosted
26
+ runs-on : ubuntu-22.04
27
27
if : " !contains(github.event.head_commit.message, 'ci skip')"
28
28
steps :
29
29
- uses : actions/checkout@v3
84
84
needs : scarthgap-repo
85
85
86
86
styhead-repo :
87
- runs-on : self-hosted
87
+ runs-on : ubuntu-22.04
88
88
if : " !contains(github.event.head_commit.message, 'ci skip')"
89
89
steps :
90
90
- uses : actions/checkout@v3
@@ -104,7 +104,7 @@ jobs:
104
104
needs : styhead-repo
105
105
106
106
walnascar-repo :
107
- runs-on : self-hosted
107
+ runs-on : ubuntu-22.04
108
108
continue-on-error : true
109
109
if : " !contains(github.event.head_commit.message, 'ci skip')"
110
110
steps :
You can’t perform that action at this time.
0 commit comments