Skip to content

Commit a8dc0da

Browse files
authored
Create freebsd.yml (RedisJSON#453)
* Create freebsd.yml
1 parent 8881664 commit a8dc0da

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

.github/workflows/freebsd.yml

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: freebsd
2+
3+
on:
4+
push:
5+
branches: [ master ]
6+
pull_request:
7+
branches: [ master ]
8+
9+
jobs:
10+
build:
11+
12+
runs-on: macos-latest
13+
14+
steps:
15+
- uses: actions/checkout@v2
16+
- name: build
17+
uses: vmactions/freebsd-vm@v0.1.4
18+
with:
19+
usesh: true
20+
sync: rsync
21+
prepare: pkg install -y bash curl lang/rust devel/llvm-devel
22+
run: |
23+
cargo build --all --all-targets --verbose
24+
curl https://sh.rustup.rs -sSf > rustup.sh
25+
sh rustup.sh -y
26+
. $HOME/.cargo/env
27+
rustup target add i686-unknown-freebsd
28+
cargo build --all --all-targets --verbose --target i686-unknown-freebsd

0 commit comments

Comments
 (0)