mirror of
https://github.com/google/cpu_features.git
synced 2025-07-01 13:21:13 +02:00
ci: Update Linux jobs to run inside a docker container.
This commit is contained in:

committed by
Mizux

parent
ccc3a51e4c
commit
1601db5335
9
.github/workflows/aarch64_linux.yml
vendored
9
.github/workflows/aarch64_linux.yml
vendored
@ -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
|
||||
|
@ -1,4 +1,4 @@
|
||||
name: x86 FreeBSD
|
||||
name: amd64 FreeBSD
|
||||
|
||||
on:
|
||||
push:
|
31
.github/workflows/amd64_linux.yml
vendored
Normal file
31
.github/workflows/amd64_linux.yml
vendored
Normal file
@ -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
|
@ -1,4 +1,4 @@
|
||||
name: x86 Darwin
|
||||
name: amd64 macOS
|
||||
|
||||
on:
|
||||
push:
|
@ -1,4 +1,4 @@
|
||||
name: x86 Windows
|
||||
name: amd64 Windows
|
||||
|
||||
on:
|
||||
push:
|
9
.github/workflows/arm_linux.yml
vendored
9
.github/workflows/arm_linux.yml
vendored
@ -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
.github/workflows/mips_linux.yml
vendored
9
.github/workflows/mips_linux.yml
vendored
@ -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
.github/workflows/x86_linux.yml
vendored
27
.github/workflows/x86_linux.yml
vendored
@ -1,27 +0,0 @@
|
||||
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
|
||||
env:
|
||||
CTEST_OUTPUT_ON_FAILURE: 1
|
||||
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
|
Reference in New Issue
Block a user