Skip to content

Commit

Permalink
Use new CI
Browse files Browse the repository at this point in the history
  • Loading branch information
f0reachARR committed Sep 18, 2024
1 parent 060ddc1 commit 0233d66
Showing 1 changed file with 10 additions and 27 deletions.
37 changes: 10 additions & 27 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,14 @@ jobs:
with:
tool-cache: false

- name: Change data-dir
run: |
sudo systemctl stop docker
sudo rm -rf /var/lib/docker
sudo mkdir /mnt/docker
sudo ln -s /mnt/docker /var/lib/docker
sudo systemctl start docker
- name: Set up QEMU
uses: docker/setup-qemu-action@v2

Expand All @@ -31,34 +39,9 @@ jobs:
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
- name: Build and publish packages
uses: ForteFibre/fortefibre_github_action/create_debian_packages_batch@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 }}
Expand Down

0 comments on commit 0233d66

Please sign in to comment.