File tree Expand file tree Collapse file tree 1 file changed +46
-0
lines changed Expand file tree Collapse file tree 1 file changed +46
-0
lines changed Original file line number Diff line number Diff line change 3131 ls -lah
3232 whoami
3333 env
34+ df -h
3435 freebsd-version
3536 sysctl hw.model
3637 sysctl hw.ncpu
6768 ls -lah
6869 whoami
6970 env
71+ df -h
7072 /sbin/sysctl hw.model
7173 /sbin/sysctl hw.ncpu
7274 /sbin/sysctl hw.physmem
8082 cabal build all --enable-tests --dry-run
8183 cabal build all --enable-tests
8284 cabal test all --enable-tests --test-show-details=direct
85+
86+ openbsd :
87+ name : OpenBSD
88+ runs-on : ubuntu-latest
89+ steps :
90+ - name : Checkout
91+ uses : actions/checkout@v4
92+
93+ - name : Test in OpenBSD
94+ id : test
95+ uses : vmactions/openbsd-vm@v1
96+ with :
97+ release : " 7.7"
98+ usesh : true
99+ prepare : |
100+ pkg_add ghc cabal-install
101+
102+ run : |
103+
104+ date
105+ pwd
106+ ls -lah
107+ whoami
108+ env
109+ df -h
110+ sysctl hw.model
111+ sysctl hw.ncpu
112+ sysctl hw.physmem
113+ sysctl hw.usermem
114+
115+
116+ ghc --version
117+ cabal --version
118+
119+ # OpenBSD image has separate /home partition, / is small
120+ # as we run everything as root, we run out space
121+ # we hack around making cabal write its stuff in /home
122+ mkdir -p /home/cabal
123+ ln -s /home/cabal $HOME/.cabal
124+
125+ cabal update -v
126+ cabal build all --enable-tests --dry-run
127+ cabal build all --enable-tests
128+ cabal test all --enable-tests --test-show-details=direct
You can’t perform that action at this time.
0 commit comments