1
0
Fork 0
mirror of https://github.com/eosswedenorg/antelope-api-healthcheck synced 2026-06-16 04:44:55 +02:00

.github/workflows/test.yml: Also cross-compile to make sure it builds on everything.

This commit is contained in:
Henrik Hautakoski 2023-01-05 14:29:32 +01:00
parent b9b1e71bcd
commit 46fe9b3e47
No known key found for this signature in database
GPG key ID: 217490840C18A5D9

View file

@ -5,6 +5,26 @@ on:
- pull_request
jobs:
cross-compile:
strategy:
fail-fast: false
matrix:
os: [ linux, freebsd ]
arch: [ 386, amd64, arm, arm64 ]
name: Crosscompile - ${{matrix.os}}-${{matrix.arch}}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.18
- name: compile
id: compile
run: |
./compile.sh --target ${{matrix.os}} -a ${{matrix.arch}}
test:
runs-on: ubuntu-latest