-
Notifications
You must be signed in to change notification settings - Fork 0
48 lines (46 loc) · 1.12 KB
/
freebsd.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
name: FreeBSD build
on:
# push:
workflow_dispatch:
pull_request:
jobs:
freebsdbuild:
timeout-minutes: 30
# runs-on: ubuntu-22.04
runs-on: nws-self-hosted-xlarge
name: Build on FreeBSD
# env:
# MYTOKEN : ${{ secrets.MYTOKEN }}
# MYTOKEN2: "value2"
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
# - name: Build in FreeBSD
# id: build
# uses: vmactions/freebsd-vm@v1
# with:
# # envs: 'MYTOKEN MYTOKEN2'
# usesh: true
# sync: sshfs
# mem: 2048
# release: 13.2
# # prepare: |
# # pkg install -y git
# # git submodule update --init --recursive
# run: |
# ./build.bsd.sh
- name: Cross Platform Action
uses: cross-platform-actions/action@v0.21.1
with:
operating_system: freebsd
version: '13.2'
# shell: sh
# sync_files: true
run: |
./build.bsd.sh
- name: Store executable
uses: actions/upload-artifact@v3
with:
name: n2os_smb_client.bsd
path: bin/n2os_smb_client.bsd