File tree Expand file tree Collapse file tree 2 files changed +85
-3
lines changed Expand file tree Collapse file tree 2 files changed +85
-3
lines changed Original file line number Diff line number Diff line change 1+ name : BSD
2+ on :
3+ push :
4+ branches :
5+ - master
6+ pull_request :
7+ branches :
8+ - master
9+
10+ jobs :
11+ freebsd :
12+ name : FreeBSD
13+ runs-on : ubuntu-latest
14+ steps :
15+ - name : Checkout
16+ uses : actions/checkout@v4
17+
18+ - name : Test in FreeBSD
19+ id : test
20+ uses : vmactions/freebsd-vm@v1
21+ with :
22+ release : " 14.3"
23+ usesh : true
24+ prepare : |
25+ # pkg-static update
26+ # pkg-static upgrade -y pkg
27+ pkg install -y ghc hs-cabal-install
28+
29+ run : |
30+ pwd
31+ ls -lah
32+ whoami
33+ env
34+ freebsd-version
35+ sysctl hw.model
36+ sysctl hw.ncpu
37+ sysctl hw.physmem
38+ sysctl hw.usermem
39+
40+ ghc --version
41+ cabal --version
42+
43+ cabal update
44+ cabal build all --enable-tests --dry-run
45+ cabal build all --enable-tests
46+ cabal test all --enable-tests --test-show-details=direct
47+
48+ netbsd :
49+ name : NetBSD
50+ runs-on : ubuntu-latest
51+ steps :
52+ - name : Checkout
53+ uses : actions/checkout@v4
54+
55+ - name : Test in NetBSD
56+ id : test
57+ uses : vmactions/netbsd-vm@v1
58+ with :
59+ release : " 10.1"
60+ usesh : true
61+ prepare : |
62+ /usr/sbin/pkg_add ghc cabal-install
63+
64+ run : |
65+ cd $GITHUB_WORKSPACE;
66+ pwd
67+ ls -lah
68+ whoami
69+ env
70+ /sbin/sysctl hw.model
71+ /sbin/sysctl hw.ncpu
72+ /sbin/sysctl hw.physmem
73+ /sbin/sysctl hw.usermem
74+ /usr/bin/vmstat
75+
76+ ghc --version
77+ cabal --version
78+
79+ cabal update
80+ cabal build all --enable-tests --dry-run
81+ cabal build all --enable-tests
82+ cabal test all --enable-tests --test-show-details=direct
Original file line number Diff line number Diff line change 1- name : Simple
1+ name : MacWin
22on :
33 push :
44 branches :
99
1010jobs :
1111 native :
12- name : " Simple: GHC ${{ matrix.ghc }} on ${{ matrix.os }}"
12+ name : " GHC ${{ matrix.ghc }} on ${{ matrix.os }}"
1313 runs-on : ${{ matrix.os }}
1414 strategy :
1515 matrix :
2424 git config --global core.eol lf
2525
2626 - name : Checkout
27- uses : actions/checkout@v3.0.2
27+ uses : actions/checkout@v4
2828
2929 - name : Set up Haskell
3030 id : setup-haskell
You can’t perform that action at this time.
0 commit comments