File tree Expand file tree Collapse file tree 1 file changed +34
-0
lines changed Expand file tree Collapse file tree 1 file changed +34
-0
lines changed Original file line number Diff line number Diff line change 8484
8585 - name : Install
8686 run : cmake --install build --prefix scalapack_install
87+
88+ freebsd :
89+ runs-on : ubuntu-latest
90+ steps :
91+ - name : Repository checkout
92+ uses : actions/checkout@v4
93+ -
uses :
cross-platform-actions/[email protected] 94+ with :
95+ operating_system : ' freebsd'
96+ version : ' 14.3'
97+ architecture : ' x86_64'
98+ run : |
99+ # Use latest package set
100+ sudo mkdir -p /usr/local/etc/pkg/repos/
101+ sudo cp /etc/pkg/FreeBSD.conf /usr/local/etc/pkg/repos/FreeBSD.conf
102+ sudo sed -i.bak -e 's|/quarterly|/latest|' /usr/local/etc/pkg/repos/FreeBSD.conf
103+
104+ echo "::group::Dependencies installation"
105+ sudo -E pkg install -y \
106+ cmake ninja mpich gcc13 openblas
107+ echo "::endgroup::"
108+
109+ echo "::group::CMake configuration"
110+ cmake -B build -G Ninja \
111+ -DCMAKE_Fortran_COMPILER="/usr/local/bin/gfortran13"
112+ echo "::endgroup::"
113+
114+ echo "::group::Building"
115+ cmake --build build
116+ echo "::endgroup::"
117+
118+ echo "::group::Testing"
119+ cmake --build build -t test
120+ echo "::endgroup::"
You can’t perform that action at this time.
0 commit comments