mirror of
https://github.com/zebrajr/tensorflow.git
synced 2025-12-06 00:19:58 +01:00
Bumps the github-actions group with 3 updates: [actions/checkout](https://github.com/actions/checkout), [google/osv-scanner-action](https://github.com/google/osv-scanner-action) and [github/codeql-action](https://github.com/github/codeql-action). Updates `actions/checkout` from 4.2.2 to 5.0.0 - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](11bd71901b...08c6903cd8) Updates `google/osv-scanner-action` from 2.1.0 to 2.2.2 - [Release notes](https://github.com/google/osv-scanner-action/releases) - [Commits](https://github.com/google/osv-scanner-action/compare/v2.1.0...v2.2.2) Updates `github/codeql-action` from 3.29.7 to 3.29.11 - [Release notes](https://github.com/github/codeql-action/releases) - [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md) - [Commits](51f77329af...3c3833e0f8) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: 5.0.0 dependency-type: direct:production update-type: version-update:semver-major dependency-group: github-actions - dependency-name: google/osv-scanner-action dependency-version: 2.2.2 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: github-actions - dependency-name: github/codeql-action dependency-version: 3.29.11 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: github-actions ... Signed-off-by: dependabot[bot] <support@github.com>
65 lines
2.5 KiB
YAML
65 lines
2.5 KiB
YAML
# Copyright 2022 The TensorFlow Authors. All Rights Reserved.
|
|
#
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
# you may not use this file except in compliance with the License.
|
|
# You may obtain a copy of the License at
|
|
#
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
#
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
# See the License for the specific language governing permissions and
|
|
# limitations under the License.
|
|
# ==============================================================================
|
|
|
|
name: ARM CI Extended C++
|
|
|
|
on:
|
|
push:
|
|
tags:
|
|
- v2.**
|
|
schedule:
|
|
- cron: '0 2 * * *'
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
build:
|
|
if: github.repository == 'tensorflow/tensorflow' # Don't do this in forks
|
|
runs-on: [self-hosted, linux, ARM64]
|
|
strategy:
|
|
matrix:
|
|
pyver: ['3.10']
|
|
steps:
|
|
- name: Stop old running containers (if any)
|
|
shell: bash
|
|
run: |
|
|
running_containers=$(docker ps -q) && \
|
|
if [[ $running_containers == "" ]]; then
|
|
echo "No running containers";
|
|
else
|
|
echo "Running container(s) found" && \
|
|
docker stop $running_containers;
|
|
fi
|
|
docker container prune -f
|
|
docker image prune -af
|
|
- name: Clean repository
|
|
shell: bash
|
|
run: find /home/ubuntu/actions-runner/_work/tensorflow/tensorflow/. -name . -o -prune -exec sudo rm -rf -- {} + || true
|
|
- name: Checkout repository for nightly (skipped for releases)
|
|
if: ${{ github.event_name == 'schedule' }}
|
|
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
|
|
with:
|
|
ref: 'nightly'
|
|
- name: Checkout repository
|
|
if: ${{ github.event_name == 'push' }}
|
|
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
|
|
- name: Build binary and run C++ tests
|
|
shell: bash
|
|
run: |
|
|
is_nightly=0 && tf_project_name='tf_ci_ext_c' && ${{ github.event_name == 'schedule' }} && is_nightly=1 && tf_project_name='tf_nightly_ci_ext_c'
|
|
CI_DOCKER_BUILD_EXTRA_PARAMS="--build-arg py_major_minor_version=${{ matrix.pyver }} --build-arg is_nightly=${is_nightly} --build-arg tf_project_name=${tf_project_name}" \
|
|
./tensorflow/tools/ci_build/ci_build.sh cpu.arm64 bash tensorflow/tools/ci_build/rel/ubuntu/cpu_arm64_test_cpp.sh
|