Update changelog #12
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: bsd | |
on: | |
push: | |
pull_request: | |
schedule: | |
- cron: '30 18 * * 0' # 18:30 every Sunday | |
jobs: | |
ncdevtool_check: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
path: src | |
- name: Pip install packages for ncdevtool | |
run: pip install -r ./src/devel/reqs/requirements_devel.txt | |
- name: ncdevtool checks | |
run: ./src/devel/bin/ncdevtool check -n "fix""me" | |
ctest: | |
needs: [ ncdevtool_check ] | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
path: src | |
- name: Test | |
uses: cross-platform-actions/action@v0.26.0 | |
with: | |
operating_system: freebsd | |
version: '14.2' | |
#-DMCTOOLS_REQUIRE_ALL_TEST_DEPS=ON | |
run: | | |
echo "Shell is: ${SHELL}" | |
sudo pkg install -y cmake | |
sudo pkg install -y python3 | |
python3 --version | |
export CMAKE_BUILD_PARALLEL_LEVEL=$(./devel/bin/ncdevtool nprocs) | |
cmake -S ./src -B ./build -DCMAKE_BUILD_TYPE=Release -DNCRYSTAL_BUILD_STRICT=ON -DNCRYSTAL_ENABLE_TESTING=ON | |
cmake --build ./build --config Release | |
cd ./build | |
ctest --output-on-failure --test-output-size-failed 100000 --test-output-truncation middle | |
# | |
# uname -a | |
# echo $SHELL | |
# pwd | |
# ls -lah | |
# whoami | |
# env | sort | |
# ls -l ./src | |
# |