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:
parent
b9b1e71bcd
commit
46fe9b3e47
1 changed files with 20 additions and 0 deletions
20
.github/workflows/test.yml
vendored
20
.github/workflows/test.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue