-
Notifications
You must be signed in to change notification settings - Fork 3
51 lines (43 loc) · 1.1 KB
/
ci.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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
name: CI
on:
push:
branches: [master]
defaults:
run:
shell: bash
jobs:
build:
name: Build ngcore
runs-on: ${{ matrix.os }}
strategy:
matrix:
include:
- build: x86_64-linux
os: ubuntu-latest
- build: x86_64-macos
os: macos-latest
- build: x86_64-windows
os: windows-latest
target: x86_64-pc-windows-gnu
- build: aarch64-linux
os: ubuntu-latest
target: aarch64-unknown-linux-gnu
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: '^1.18'
- name: Analysis wasman
run: go vet -v ./...
- name: Test wasman
run: go test -v ./...
- name: Test wasman with race
run: go test -race -v ./...
- name: Download external files
run: go generate ./examples
- name: Test log example
run: go run ./examples/log
- name: Test hoststring example
run: go run ./examples/hoststring
- name: Test hostbytes example
run: go run ./examples/hostbytes