forked from google/cpu_features
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
189 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
name: aarch64 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. | ||
aarch64: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
targets: [ | ||
[aarch64-linux-gnu], | ||
[aarch64_be-linux-gnu] | ||
] | ||
fail-fast: false | ||
env: | ||
TARGET: ${{ matrix.targets[0] }} | ||
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 | ||
- name: Test | ||
run: ./scripts/run_integration.sh test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
name: arm 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. | ||
arm: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
targets: [ | ||
[arm-linux-gnueabihf], | ||
[armv8l-linux-gnueabihf], | ||
[arm-linux-gnueabi], | ||
[armeb-linux-gnueabihf], | ||
[armeb-linux-gnueabi] | ||
] | ||
fail-fast: false | ||
env: | ||
TARGET: ${{ matrix.targets[0] }} | ||
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 | ||
- name: Test | ||
run: ./scripts/run_integration.sh test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
name: mips 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. | ||
mips: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
targets: [ | ||
[mips32], | ||
[mips32el], | ||
[mips64], | ||
[mips64el] | ||
] | ||
fail-fast: false | ||
env: | ||
TARGET: ${{ matrix.targets[0] }} | ||
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 | ||
- name: Test | ||
run: ./scripts/run_integration.sh test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
name: x86 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 | ||
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
name: x86 Darwin | ||
|
||
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. | ||
xcode: | ||
runs-on: macos-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Check cmake | ||
run: cmake --version | ||
- name: Configure | ||
run: cmake -S. -Bbuild -G "Xcode" -DCMAKE_CONFIGURATION_TYPES=Release | ||
- name: Build | ||
run: cmake --build build --config Release --target ALL_BUILD -v | ||
- name: Test | ||
run: cmake --build build --config Release --target RUN_TESTS -v | ||
- name: Install | ||
run: cmake --build build --config Release --target install -v | ||
make: | ||
runs-on: macos-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Check cmake | ||
run: cmake --version | ||
- name: Configure | ||
run: cmake -S. -Bbuild -DCMAKE_BUILD_TYPE=Release | ||
- name: Build | ||
run: cmake --build build --target all -v | ||
- name: Test | ||
run: cmake --build build --target test -v | ||
- name: Install | ||
run: cmake --build build --target install -v |
2 changes: 1 addition & 1 deletion
2
.github/workflows/freebsd.yml → .github/workflows/x86_freebsd.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
name: FreeBSD | ||
name: x86 FreeBSD | ||
|
||
on: | ||
push: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
name: x86 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: Check cmake | ||
run: cmake --version | ||
- name: Configure | ||
run: cmake -S. -Bbuild -DCMAKE_BUILD_TYPE=Release | ||
- name: Build | ||
run: cmake --build build --target all -v | ||
- name: Test | ||
run: cmake --build build --target test -v | ||
- name: Install | ||
run: cmake --build build --target install -v -- DESTDIR=install |