-
Notifications
You must be signed in to change notification settings - Fork 0
59 lines (51 loc) · 1.63 KB
/
build.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
name: Build
on:
push:
branches:
- main
paths:
- "dependency.repos"
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Clone repositories
run: |
pip3 install vcstool
mkdir -p external
vcs import external < dependency.repos
vcs pull external
- name: Pull docker images
run: |
docker pull ghcr.io/fortefibre/buildroot:humble-amd64
- name: Build amd64 packages
uses: ForteFibre/fortefibre_github_action/create_debian_packages@main
with:
rosdistro: humble
platform: amd64
out_dir: "./debs"
- name: Pull docker images
run: |
docker rmi ghcr.io/fortefibre/buildroot:humble-amd64
docker system prune -f
docker pull --platform linux/arm64/v8 ghcr.io/fortefibre/buildroot:humble-aarch64
- name: Build amd64 packages
uses: ForteFibre/fortefibre_github_action/create_debian_packages@main
with:
rosdistro: humble
platform: aarch64
out_dir: "./debs"
- name: Update APT repository
uses: ForteFibre/fortefibre_github_action/update_apt_repo@main
with:
input_dir: "./debs"
s3_bucket: "fortefibre-apt"
s3_access_key_id: ${{ secrets.S3_KEY_ID }}
s3_access_key_secret: ${{ secrets.S3_KEY_SECRET }}
s3_endpoint: ${{ secrets.S3_ENDPOINT }}
gpg_private_key: ${{ secrets.GPG_KEY }}
gpg_fingerprint: 6FD24526DB354C619705230B69ACCD996E5940A7