-
Notifications
You must be signed in to change notification settings - Fork 0
69 lines (67 loc) · 1.88 KB
/
bsd-on-mac-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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
name: BSD-on-MAC
# controls when the action will run
on: [push, workflow_dispatch]
jobs:
test:
runs-on: macos-12
name: MacOS and *BSD checks
#env:
# MYTOKEN : ${{ secrets.MYTOKEN }}
# MYTOKEN2: "value2"
steps:
- uses: actions/checkout@v3
- name: raw macos-12
run: |
echo path = $path
echo PATH = $PATH
echo prepare ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
which perl
ls -l `which perl`
perl -V
curl -L https://cpanmin.us | perl - --sudo --verbose App::cpanminus
echo set ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
PATH=/usr/local/Cellar/perl/5.36.0/bin:$PATH
echo NEW PATH = $PATH
which perl
ls -latr /usr/local/bin/perl /usr/local/Cellar/perl/5.36.0/bin/
echo version ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cpanm --version
echo run ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
echo TODO...
- name: VM(FreeBSD)
uses: vmactions/freebsd-vm@v0
with:
usesh: true
sync: rsync
copyback: false
prepare: |
pkg update -f
pkg install -y curl
#pkg search perl
pkg install -y perl5.36-5.36.0_2
#pkg info -l perl5.36-5.36.0_2
run: |
echo ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ls -l /usr/local/bin/*5.36.0
whoami
echo ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#perl -v
#curl -L https://cpanmin.us | perl - --sudo App::cpanminus
# - name: VM(OpenBSD)
# id: test
# uses: vmactions/openbsd-vm@v0
# with:
# envs: 'MYTOKEN MYTOKEN2'
# usesh: true
# prepare: |
# pkg_add curl
#
# run: |
#
# pwd
# ls -lah
# whoami
# env
# perl -V
# #cpanm -V
# which cpanm