mirror of
https://github.com/inspircd/inspircd.git
synced 2025-03-10 02:59:01 -04:00
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v2...v3) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
34 lines
909 B
YAML
34 lines
909 B
YAML
name: Windows CI
|
|
on:
|
|
pull_request:
|
|
push:
|
|
schedule:
|
|
- cron: '0 0 * * 0'
|
|
jobs:
|
|
build:
|
|
if: "!contains(github.event.head_commit.message, '[skip windows ci]')"
|
|
runs-on: windows-2019
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
|
|
- name: Setup MSBuild
|
|
uses: microsoft/setup-msbuild@v1.0.2
|
|
|
|
- name: Setup Conan
|
|
uses: turtlebrowser/get-conan@v1.0
|
|
|
|
- name: Install libraries
|
|
working-directory: ${{ github.workspace }}/win/build
|
|
run: |
|
|
conan install .. --build=missing
|
|
|
|
- name: Run CMake
|
|
working-directory: ${{ github.workspace }}/win/build
|
|
run: |
|
|
cmake -G "Visual Studio 16 2019" -A "x64" ..
|
|
|
|
- name: Build InspIRCd
|
|
working-directory: ${{ github.workspace }}/win/build
|
|
run: |
|
|
msbuild InspIRCd.sln /M:3 /P:Configuration=Release /P:Platform=x64 /T:ALL_BUILD /VERBOSITY:MINIMAL
|