Add voicevox_ros2 #7
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: Free Disk Space (Ubuntu) | |
uses: jlumbroso/free-disk-space@main | |
with: | |
tool-cache: false | |
- name: Set up QEMU | |
uses: docker/setup-qemu-action@v2 | |
- 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 |