Skip to content

Commit 3cf28e8

Browse files
committed
switch to FreeBSD 15
1 parent 565c6ae commit 3cf28e8

File tree

1 file changed

+38
-38
lines changed

1 file changed

+38
-38
lines changed

.github/workflows/ci.yml

Lines changed: 38 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ jobs:
250250
uses: vmactions/freebsd-vm@v1
251251
id: freebsd-qt5
252252
with:
253-
release: "14.3"
253+
release: "15.0"
254254
# Use sh shell
255255
usesh: true
256256
# When using rsync, you can define copyback: false to not copy files back from the VM in to the host.
@@ -278,43 +278,43 @@ jobs:
278278
pkill Xvfb
279279
280280
# CI on FreeBSD (Qt6)
281-
# ci-freebsd-qt6:
282-
# name: "FreeBSD (x86_64; qt6)"
283-
# runs-on: ubuntu-latest
284-
# if: "!contains(github.event.head_commit.message, '[ci skip]') && !contains(github.event.head_commit.message, '[skip ci]') && !contains(github.actor, 'transifex')"
285-
#
286-
# steps:
287-
# - name: Checkout repository
288-
# uses: actions/checkout@v5
289-
#
290-
# - name: Build and run unit tests in FreeBSD
291-
# uses: vmactions/freebsd-vm@v1
292-
# id: freebsd-qt6
293-
# with:
294-
# release: "14.3"
295-
# # Use sh shell
296-
# usesh: true
297-
# # When using rsync, you can define copyback: false to not copy files back from the VM in to the host.
298-
# copyback: false
299-
# prepare: |
300-
# pkg install -y cmake git eigen glm exiv2 nlopt fast_float md4c qxlsx-qt6 perl5 xorg-vfbserver gettext qt6
301-
#
302-
# run: |
303-
# set -e -x
304-
# export DISPLAY=:0
305-
# export CMAKE_PREFIX_PATH="/usr/local:$CMAKE_PREFIX_PATH"
306-
# mkdir builds
307-
# cd builds
308-
# cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo \
309-
# -DSTELLARIUM_RELEASE_BUILD=Off \
310-
# -DENABLE_TESTING=On \
311-
# "${{ github.workspace }}"
312-
# make -j ${{env.parallel_processes}}
313-
# Xvfb :0 -ac -screen 0 1024x768x24+32 >/dev/null 2>&1 &
314-
# sleep 3
315-
# ctest --output-on-failure
316-
# sleep 1
317-
# pkill Xvfb
281+
ci-freebsd-qt6:
282+
name: "FreeBSD (x86_64; qt6)"
283+
runs-on: ubuntu-latest
284+
if: "!contains(github.event.head_commit.message, '[ci skip]') && !contains(github.event.head_commit.message, '[skip ci]') && !contains(github.actor, 'transifex')"
285+
286+
steps:
287+
- name: Checkout repository
288+
uses: actions/checkout@v5
289+
290+
- name: Build and run unit tests in FreeBSD
291+
uses: vmactions/freebsd-vm@v1
292+
id: freebsd-qt6
293+
with:
294+
release: "15.0"
295+
# Use sh shell
296+
usesh: true
297+
# When using rsync, you can define copyback: false to not copy files back from the VM in to the host.
298+
copyback: false
299+
prepare: |
300+
pkg install -y cmake git eigen glm exiv2 nlopt fast_float md4c qxlsx-qt6 perl5 xorg-vfbserver gettext qt6
301+
302+
run: |
303+
set -e -x
304+
export DISPLAY=:0
305+
export CMAKE_PREFIX_PATH="/usr/local:$CMAKE_PREFIX_PATH"
306+
mkdir builds
307+
cd builds
308+
cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo \
309+
-DSTELLARIUM_RELEASE_BUILD=Off \
310+
-DENABLE_TESTING=On \
311+
"${{ github.workspace }}"
312+
make -j ${{env.parallel_processes}}
313+
Xvfb :0 -ac -screen 0 1024x768x24+32 >/dev/null 2>&1 &
314+
sleep 3
315+
ctest --output-on-failure
316+
sleep 1
317+
pkill Xvfb
318318
319319
# CI on Windows (Qt5)
320320
ci-windows-qt5:

0 commit comments

Comments
 (0)