-
Notifications
You must be signed in to change notification settings - Fork 15
38 lines (37 loc) · 1008 Bytes
/
ci.yaml
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
name: AsteriscCI
on: [push]
jobs:
go-tests:
runs-on: ubuntu-latest
timeout-minutes: 20
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
- name: Install Golang
uses: actions/setup-go@v4
with:
go-version: '1.21.x'
- name: Build rvsol
run: forge build
working-directory: rvsol
- name: Build rv64g test binaries
run: make bin bin/simple bin/minimal
working-directory: tests/go-tests
- name: Run tests
run: go test -v ./...
working-directory: rvgo
# go-lint:
# runs-on: ubuntu-latest
# timeout-minutes: 20
# steps:
# - uses: actions/checkout@v3
# - uses: actions/setup-go@v4
# with:
# go-version: '1.21.x'
# cache: false
# - name: golangci-lint
# uses: golangci/golangci-lint-action@v3
# with:
# version: latest