-
Notifications
You must be signed in to change notification settings - Fork 20
30 lines (28 loc) · 868 Bytes
/
test.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
name: "Test"
on: [push, pull_request]
jobs:
build:
name: Test build
runs-on: ubuntu-latest
strategy:
matrix:
target: ['ai.server', 'double-take', 'double-take-beta']
fail-fast: false
steps:
- name: Free disk space
if: matrix.target == 'ai.server'
run: |
curl -L -k https://raw.githubusercontent.com/apache/flink/master/tools/azure-pipelines/free_disk_space.sh | bash
- name: Checkout the repository
uses: actions/checkout@v3
- name: Test build
uses: home-assistant/builder@master
with:
args: |
--test \
--amd64 \
--aarch64 \
--no-latest \
-i hassio-addon-${{ matrix.target }}-{arch} \
--target ${{ matrix.target }} \
--docker-hub ${{ secrets.DOCKER_USERNAME }}