Skip to content
Merged
Show file tree
Hide file tree
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
31 changes: 31 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# Project Files unneeded by docker
ci/Makefile
ci/docker
ci/doc
ci/cache
.git
.gitignore
.github
.dockerignore
.clang-format
appveyor.yml
.travis.yml
AUTHORS
CONTRIBUTING.md
CONTRIBUTORS
LICENSE
README.md

build/
cmake_build/
build_cross/
cmake-build-*/
out/

# Editor directories and files
.idea/
.vagrant/
.vscode/
.vs/
*.user
*.swp
9 changes: 2 additions & 7 deletions .github/workflows/aarch64_linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,9 @@ jobs:
fail-fast: false
env:
TARGET: ${{ matrix.targets[0] }}
CTEST_OUTPUT_ON_FAILURE: 1
steps:
- uses: actions/checkout@v2
- name: Install Ninja
run: |
sudo apt-get update
sudo apt-get install ninja-build
- name: Build
run: ./scripts/run_integration.sh build
run: make --directory=ci ${TARGET}_build
- name: Test
run: ./scripts/run_integration.sh test
run: make --directory=ci ${TARGET}_test
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: x86 FreeBSD
name: amd64 FreeBSD

on:
push:
Expand Down
31 changes: 31 additions & 0 deletions .github/workflows/amd64_linux.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: amd64 Linux

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.
make:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Env
run: make --directory=ci amd64_env
- name: Devel
run: make --directory=ci amd64_devel
- name: Build
run: make --directory=ci amd64_build
- name: Test
run: make --directory=ci amd64_test
- name: Install Env
run: make --directory=ci amd64_install_env
- name: Install Devel
run: make --directory=ci amd64_install_devel
- name: Install Build
run: make --directory=ci amd64_install_build
- name: Install Test
run: make --directory=ci amd64_install_test
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: x86 Darwin
name: amd64 macOS

on:
push:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: x86 Windows
name: amd64 Windows

on:
push:
Expand Down
9 changes: 2 additions & 7 deletions .github/workflows/arm_linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,9 @@ jobs:
fail-fast: false
env:
TARGET: ${{ matrix.targets[0] }}
CTEST_OUTPUT_ON_FAILURE: 1
steps:
- uses: actions/checkout@v2
- name: Install Ninja
run: |
sudo apt-get update
sudo apt-get install ninja-build
- name: Build
run: ./scripts/run_integration.sh build
run: make --directory=ci ${TARGET}_build
- name: Test
run: ./scripts/run_integration.sh test
run: make --directory=ci ${TARGET}_test
9 changes: 2 additions & 7 deletions .github/workflows/mips_linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,9 @@ jobs:
fail-fast: false
env:
TARGET: ${{ matrix.targets[0] }}
CTEST_OUTPUT_ON_FAILURE: 1
steps:
- uses: actions/checkout@v2
- name: Install Ninja
run: |
sudo apt-get update
sudo apt-get install ninja-build
- name: Build
run: ./scripts/run_integration.sh build
run: make --directory=ci ${TARGET}_build
- name: Test
run: ./scripts/run_integration.sh test
run: make --directory=ci ${TARGET}_test
27 changes: 0 additions & 27 deletions .github/workflows/x86_linux.yml

This file was deleted.

12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
[![Macos Status][macos_svg]][macos_link]
[![Windows Status][windows_svg]][windows_link]

[linux_svg]: https://github.com/google/cpu_features/actions/workflows/x86_linux.yml/badge.svg?branch=master
[linux_link]: https://github.com/google/cpu_features/actions/workflows/x86_linux.yml
[macos_svg]: https://github.com/google/cpu_features/actions/workflows/x86_darwin.yml/badge.svg?branch=master
[macos_link]: https://github.com/google/cpu_features/actions/workflows/x86_darwin.yml
[windows_svg]: https://github.com/google/cpu_features/actions/workflows/x86_windows.yml/badge.svg?branch=master
[windows_link]: https://github.com/google/cpu_features/actions/workflows/x86_windows.yml
[linux_svg]: https://github.com/google/cpu_features/actions/workflows/amd64_linux.yml/badge.svg?branch=master
[linux_link]: https://github.com/google/cpu_features/actions/workflows/amd64_linux.yml
[macos_svg]: https://github.com/google/cpu_features/actions/workflows/amd64_macos.yml/badge.svg?branch=master
[macos_link]: https://github.com/google/cpu_features/actions/workflows/amd64_macos.yml
[windows_svg]: https://github.com/google/cpu_features/actions/workflows/amd64_windows.yml/badge.svg?branch=master
[windows_link]: https://github.com/google/cpu_features/actions/workflows/amd64_windows.yml

A cross-platform C library to retrieve CPU features (such as available
instructions) at runtime.
Expand Down
Loading