Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/google/cpu_features.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorentin Le Molgat <corentinl@google.com>2021-10-27 15:09:08 +0300
committerMizux <mizux.dev@gmail.com>2021-10-28 17:24:54 +0300
commit1601db5335c0557c0307d71d88b38c5e868cdfa9 (patch)
tree99640d2442a578d5e4ff7e5134c90527f44f568b /.github
parentccc3a51e4cdbc7c34ce461829b8983e2ee010f5b (diff)
ci: Update Linux jobs to run inside a docker container.
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/aarch64_linux.yml9
-rw-r--r--.github/workflows/amd64_freebsd.yml (renamed from .github/workflows/x86_freebsd.yml)2
-rw-r--r--.github/workflows/amd64_linux.yml31
-rw-r--r--.github/workflows/amd64_macos.yml (renamed from .github/workflows/x86_darwin.yml)2
-rw-r--r--.github/workflows/amd64_windows.yml (renamed from .github/workflows/x86_windows.yml)2
-rw-r--r--.github/workflows/arm_linux.yml9
-rw-r--r--.github/workflows/mips_linux.yml9
-rw-r--r--.github/workflows/x86_linux.yml27
8 files changed, 40 insertions, 51 deletions
diff --git a/.github/workflows/aarch64_linux.yml b/.github/workflows/aarch64_linux.yml
index c47b990..2de7289 100644
--- a/.github/workflows/aarch64_linux.yml
+++ b/.github/workflows/aarch64_linux.yml
@@ -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
diff --git a/.github/workflows/x86_freebsd.yml b/.github/workflows/amd64_freebsd.yml
index 225f7a9..eeab380 100644
--- a/.github/workflows/x86_freebsd.yml
+++ b/.github/workflows/amd64_freebsd.yml
@@ -1,4 +1,4 @@
-name: x86 FreeBSD
+name: amd64 FreeBSD
on:
push:
diff --git a/.github/workflows/amd64_linux.yml b/.github/workflows/amd64_linux.yml
new file mode 100644
index 0000000..21f4f90
--- /dev/null
+++ b/.github/workflows/amd64_linux.yml
@@ -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
diff --git a/.github/workflows/x86_darwin.yml b/.github/workflows/amd64_macos.yml
index e15282c..19ec18c 100644
--- a/.github/workflows/x86_darwin.yml
+++ b/.github/workflows/amd64_macos.yml
@@ -1,4 +1,4 @@
-name: x86 Darwin
+name: amd64 macOS
on:
push:
diff --git a/.github/workflows/x86_windows.yml b/.github/workflows/amd64_windows.yml
index bd6748a..2631db3 100644
--- a/.github/workflows/x86_windows.yml
+++ b/.github/workflows/amd64_windows.yml
@@ -1,4 +1,4 @@
-name: x86 Windows
+name: amd64 Windows
on:
push:
diff --git a/.github/workflows/arm_linux.yml b/.github/workflows/arm_linux.yml
index 491af63..2272188 100644
--- a/.github/workflows/arm_linux.yml
+++ b/.github/workflows/arm_linux.yml
@@ -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
diff --git a/.github/workflows/mips_linux.yml b/.github/workflows/mips_linux.yml
index 37bac2b..571de3a 100644
--- a/.github/workflows/mips_linux.yml
+++ b/.github/workflows/mips_linux.yml
@@ -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
diff --git a/.github/workflows/x86_linux.yml b/.github/workflows/x86_linux.yml
deleted file mode 100644
index 1e86db6..0000000
--- a/.github/workflows/x86_linux.yml
+++ /dev/null
@@ -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