forked from arturo-lang/arturo
-
Notifications
You must be signed in to change notification settings - Fork 0
59 lines (54 loc) · 1.26 KB
/
netbsd.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
52
53
54
55
56
57
58
59
name: "NetBSD"
on:
push:
branches:
- 'master'
tags-ignore:
- '**'
pull_request:
paths-ignore:
- 'docs/*'
- '*.yml'
- '*.md'
- 'LICENSE'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
defaults:
run:
shell: bash -l {0}
jobs:
build:
name: Build & Test
runs-on: macos-latest
strategy:
matrix:
os:
- netbsd-latest
version:
- mini
arch:
- amd64
steps:
- name: "Checkout"
uses: actions/checkout@main
with:
submodules: recursive
- name: Setup environment & Build Arturo
id: test
uses: vmactions/netbsd-vm@v1
with:
usesh: true
prepare: |
/usr/sbin/pkg_add wget nim bash
#gmp mpfr pcre sqlite3
run: |
export PATH="/usr/local/nim/bin/:$PATH"
./build.nims --install --mode ${{ matrix.version }} --log
export PATH="$HOME/.arturo/bin:$PATH"
arturo tools/tester.art
- name: Upload Artifacts
uses: 'actions/upload-artifact@v2'
with:
name: "arturo-${{matrix.version}}-${{matrix.arch}}-netbsd"
path: bin/arturo