diff options
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2023-07-07 05:07:50 +0000 |
---|---|---|
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2023-07-07 05:07:50 +0000 |
commit | 565f9ec7b3645e58e22192fb7692c31721032599 (patch) | |
tree | 69f578706d7adc704ef6026d51ba239aa31ce2b1 /.github/workflows | |
parent | 5c6ee50d0151c0ff50f9998118d722fe3d0890b0 (diff) | |
parent | 6d28abb49625745335bfa37dc3d0e704b21cd5f3 (diff) | |
download | cpu_features-android14-mainline-sdkext-release.tar.gz |
Snap for 10453563 from 6d28abb49625745335bfa37dc3d0e704b21cd5f3 to mainline-sdkext-releaseaml_sdk_341710000aml_sdk_341510000aml_sdk_341410000aml_sdk_341110080aml_sdk_341110000aml_sdk_341010000aml_sdk_340912010android14-mainline-sdkext-release
Change-Id: I73801ac945f166520b8b332734154a8771c55441
Diffstat (limited to '.github/workflows')
-rw-r--r-- | .github/workflows/Dockerfile | 2 | ||||
-rw-r--r-- | .github/workflows/aarch64_linux.yml | 28 | ||||
-rw-r--r-- | .github/workflows/amd64_freebsd.yml | 22 | ||||
-rw-r--r-- | .github/workflows/amd64_linux.yml | 31 | ||||
-rw-r--r-- | .github/workflows/amd64_macos.yml | 43 | ||||
-rw-r--r-- | .github/workflows/amd64_windows.yml | 25 | ||||
-rw-r--r-- | .github/workflows/arm_linux.yml | 31 | ||||
-rw-r--r-- | .github/workflows/clang_format.yml | 4 | ||||
-rw-r--r-- | .github/workflows/mips_linux.yml | 30 |
9 files changed, 213 insertions, 3 deletions
diff --git a/.github/workflows/Dockerfile b/.github/workflows/Dockerfile index 41dfc93..8d6f3dc 100644 --- a/.github/workflows/Dockerfile +++ b/.github/workflows/Dockerfile @@ -2,4 +2,4 @@ # ref: https://hub.docker.com/_/alpine FROM alpine:edge # Install system build dependencies -RUN apk add --no-cache git clang +RUN apk add --no-cache git clang-extra-tools diff --git a/.github/workflows/aarch64_linux.yml b/.github/workflows/aarch64_linux.yml new file mode 100644 index 0000000..2de7289 --- /dev/null +++ b/.github/workflows/aarch64_linux.yml @@ -0,0 +1,28 @@ +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: Build + run: make --directory=ci ${TARGET}_build + - name: Test + run: make --directory=ci ${TARGET}_test diff --git a/.github/workflows/amd64_freebsd.yml b/.github/workflows/amd64_freebsd.yml new file mode 100644 index 0000000..eeab380 --- /dev/null +++ b/.github/workflows/amd64_freebsd.yml @@ -0,0 +1,22 @@ +name: amd64 FreeBSD + +on: + push: + pull_request: + schedule: + # min hours day(month) month day(week) + - cron: '0 0 7,22 * *' + +jobs: + # Only MacOS hosted runner provides virtualisation with vagrant/virtualbox installed. + # see: https://github.com/actions/virtual-environments/tree/main/images/macos + freebsd: + runs-on: macos-10.15 + steps: + - uses: actions/checkout@v2 + - name: vagrant version + run: Vagrant --version + - name: VirtualBox version + run: virtualbox -h + - name: Build + run: cd ci/vagrant/freebsd && vagrant up 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/amd64_macos.yml b/.github/workflows/amd64_macos.yml new file mode 100644 index 0000000..19ec18c --- /dev/null +++ b/.github/workflows/amd64_macos.yml @@ -0,0 +1,43 @@ +name: amd64 macOS + +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 + env: + CTEST_OUTPUT_ON_FAILURE: 1 + 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 + 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 diff --git a/.github/workflows/amd64_windows.yml b/.github/workflows/amd64_windows.yml new file mode 100644 index 0000000..7ff1ac0 --- /dev/null +++ b/.github/workflows/amd64_windows.yml @@ -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 17 2022" -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 diff --git a/.github/workflows/arm_linux.yml b/.github/workflows/arm_linux.yml new file mode 100644 index 0000000..2272188 --- /dev/null +++ b/.github/workflows/arm_linux.yml @@ -0,0 +1,31 @@ +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: Build + run: make --directory=ci ${TARGET}_build + - name: Test + run: make --directory=ci ${TARGET}_test diff --git a/.github/workflows/clang_format.yml b/.github/workflows/clang_format.yml index 17d1567..1afd391 100644 --- a/.github/workflows/clang_format.yml +++ b/.github/workflows/clang_format.yml @@ -8,8 +8,8 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - - name: Fetch origin/master - run: git fetch origin master + - name: Fetch origin/main + run: git fetch origin main - name: List of changed file(s) run: git diff --name-only FETCH_HEAD diff --git a/.github/workflows/mips_linux.yml b/.github/workflows/mips_linux.yml new file mode 100644 index 0000000..571de3a --- /dev/null +++ b/.github/workflows/mips_linux.yml @@ -0,0 +1,30 @@ +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: Build + run: make --directory=ci ${TARGET}_build + - name: Test + run: make --directory=ci ${TARGET}_test |