Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 8 additions & 14 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
build-and-test:
strategy:
matrix:
os: [ubuntu-22.04, macos-latest, windows-2019]
os: [ubuntu-22.04, macos-latest, windows-2022]
fail-fast: false

runs-on: ${{ matrix.os }}
Expand Down Expand Up @@ -114,21 +114,13 @@ jobs:
- name: Install dependencies (Windows)
if: runner.os == 'Windows'
run: |
choco install cmake ninja pandoc -y

- name: Setup Boost (Windows)
if: runner.os == 'Windows'
id: install-boost-windows
uses: MarkusJx/install-boost@v2.4.5
with:
boost_version: 1.83.0
platform_version: 2019
toolset: msvc
link: static
choco install cmake ninja pandoc boost-msvc-14.3 -y

- name: Setup MSVC environment (Windows)
if: runner.os == 'Windows'
uses: ilammy/msvc-dev-cmd@v1
with:
arch: amd64

- name: Setup ccache
uses: hendrikmuhs/ccache-action@v1.2
Expand All @@ -145,9 +137,11 @@ jobs:
-DCMAKE_BUILD_TYPE=Release `
-DELEMENT_ENABLE_ASIO=ON `
-DELEMENT_ENABLE_UPDATER=ON `
-DELEMENT_BUILD_PLUGINS=ON
-DELEMENT_BUILD_PLUGINS=ON `
-DBoost_INCLUDE_DIR="C:/local/boost_1_87_0" `
-DBoost_LIBRARY_DIRS="C:/local/boost_1_87_0/lib64-msvc-14.3"
env:
BOOST_ROOT: ${{ steps.install-boost-windows.outputs.BOOST_ROOT }}
BOOST_ROOT: C:/local/boost_1_87_0

- name: Configure CMake (Unix)
if: runner.os != 'Windows'
Expand Down
Loading