1
0
mirror of https://github.com/google/cpu_features.git synced 2025-07-03 14:13:18 +02:00

ci: Update Linux jobs to run inside a docker container.

This commit is contained in:
Corentin Le Molgat
2021-10-27 14:09:08 +02:00
committed by Mizux
parent ccc3a51e4c
commit 1601db5335
10 changed files with 54 additions and 65 deletions

25
.github/workflows/amd64_windows.yml vendored Normal file
View File

@ -0,0 +1,25 @@
name: amd64 Windows
on:
push:
pull_request:
schedule:
# min hours day(month) month day(week)
- cron: '0 0 7,22 * *'
jobs:
# Building using the github runner environement directly.
msvc:
runs-on: windows-latest
env:
CTEST_OUTPUT_ON_FAILURE: 1
steps:
- uses: actions/checkout@v2
- name: Configure
run: cmake -S. -Bbuild -G "Visual Studio 16 2019" -DCMAKE_CONFIGURATION_TYPES=Release
- name: Build
run: cmake --build build --config Release --target ALL_BUILD -- /maxcpucount
- name: Test
run: cmake --build build --config Release --target RUN_TESTS -- /maxcpucount
- name: Install
run: cmake --build build --config Release --target INSTALL -- /maxcpucount