appveyor + codecov + coverity scan

作業レポジトリ d3d12がVisual Studioのみなので、travis捨ててappveyorだけあればいいやという動機で着手。 appveyor + codecov version: 1.0.{build} image: - Visual Studio 2019 configuration: - Debug - Release install: - choco install opencppcoverage codecov - set PATH=C:\Program Files\OpenCppCoverage;%PATH% before_build: - cmd: cmake -S . -B build -DBUILD_WITH_TEST=ON build_script: - cmake --build build --config %configuration% for: - matrix: only: - configuration: Debug after_build: - cd build - OpenCppCoverage.exe --sources src --sources tests --export_type cobertura:coverage.xml --modules "*.exe" --cover_children -- %configuration%/illuminate.exe -C %configuration% --output-on-failure - codecov -f coverage....

December 27, 2021 · 1 min

github + hugo

作業メモ 作業レポジトリ hugoをインストール sudo apt install hugo quickstartに則ってコンテンツを作成 config.tomlのlanguageCodeを変更 languageCode = "ja" RSS用の設定らしい ルートディレクトリ下に.github/workflows/gh-pages.ymlを作成 こちらに中身が置いてある githubでレポジトリ[username].github.ioを作成 こちらに従ってデプロイ用のトークンを設定 gitにcommitしてpushする [username].github.ioのレポジトリのSettings > Pages > Github Pages > Source で Branch:mainになっているところをBranch:gh-pagesに変更 hugoのgithub actionsだとデフォルトでgh-pagesにコミットされるため 参考 quickstart ローカルでの動作確認URL: http://localhost:1313/ WSL2だとLiveReloadが動かない? -> symbolic link越しで/dev/mnt以下にリンクしていると動かないらしい。 githubにサイトをセットアップする 初期セットアップ step-by-step tutorial another tutorial

December 27, 2021 · 1 min