Skip to content

Commit

Permalink
use host compiler on openbsd
Browse files Browse the repository at this point in the history
  • Loading branch information
bjia56 committed Jan 16, 2025
1 parent 488765b commit e68823d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -245,13 +245,13 @@ jobs:
arch: ${{ matrix.arch }}
release: "7.3"
prepare: |
pkg_add cmake gcc-11.2.0p6 g++-11.2.0p6
pkg_add cmake
- name: Build plugin
shell: openbsd {0}
run: |
cd ${{ github.workspace }}
CC=egcc CXX=eg++ cmake -B build -DTARGET=plugin -DBUILD_EXE=ON
cmake -B build -DTARGET=plugin -DBUILD_EXE=ON
cmake --build build --parallel 4
cp build/libcosmotop.exe ./cosmotop-openbsd-${{ matrix.arch }}.exe
Expand Down

0 comments on commit e68823d

Please sign in to comment.