Fix i386 builds reporting x86_64 in the build process #231
Workflow file for this run
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: "Test" | |
on: | |
pull_request: | |
jobs: | |
init: | |
name: Initialize build | |
runs-on: ubuntu-latest | |
outputs: | |
architectures: ${{ steps.info.outputs.architectures }} | |
steps: | |
- name: Checkout the repository | |
uses: actions/checkout@v4 | |
- name: Get information | |
id: info | |
uses: home-assistant/actions/helpers/info@master | |
build: | |
name: Test action build | |
needs: init | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: False | |
matrix: | |
architecture: ${{ fromJson(needs.init.outputs.architectures) }} | |
steps: | |
- name: Checkout the repository | |
uses: actions/checkout@v4 | |
- name: Build the builder | |
uses: home-assistant/builder@master | |
with: | |
args: | | |
--test \ | |
--amd64 \ | |
--target /data \ | |
--generic latest | |
- name: Test ${{ matrix.architecture }} builder | |
uses: ./ | |
with: | |
args: | | |
--test \ | |
--${{ matrix.architecture }} \ | |
--target /data \ | |
--generic ${{ github.sha }} |