Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump actions/checkout from 3 to 4 #1431

Open
wants to merge 2 commits into
base: tengine-lite
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 18 additions & 18 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
android-armv7-cpu:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: configure
run: mkdir build && cd build && cmake -DCMAKE_TOOLCHAIN_FILE=$ANDROID_NDK_LATEST_HOME/build/cmake/android.toolchain.cmake -DANDROID_ABI="armeabi-v7a" -DANDROID_PLATFORM=android-19 ..
- name: build
Expand All @@ -29,7 +29,7 @@ jobs:
android-armv8-cpu:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: configure
run: mkdir build && cd build && cmake -DCMAKE_TOOLCHAIN_FILE=$ANDROID_NDK_LATEST_HOME/build/cmake/android.toolchain.cmake -DANDROID_ABI="arm64-v8a" -DANDROID_PLATFORM=android-21 ..
- name: build
Expand All @@ -39,7 +39,7 @@ jobs:
linux-armv7-cpu-gcc:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: cache-qemu
id: cache-qemu
uses: actions/cache@v3
Expand All @@ -48,7 +48,7 @@ jobs:
key: qemu-arm-install-1
- name: checkout-qemu
if: steps.cache-qemu.outputs.cache-hit != 'true'
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: qemu/qemu
path: qemu
Expand All @@ -74,7 +74,7 @@ jobs:
linux-armv8-cpu-gcc:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: cache-qemu
id: cache-qemu
uses: actions/cache@v3
Expand All @@ -83,7 +83,7 @@ jobs:
key: qemu-aarch64-install-1
- name: checkout-qemu
if: steps.cache-qemu.outputs.cache-hit != 'true'
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: qemu/qemu
path: qemu
Expand Down Expand Up @@ -112,7 +112,7 @@ jobs:
uses: styfle/[email protected]
with:
access_token: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: cache-qemu
id: cache-qemu
uses: actions/cache@v3
Expand All @@ -121,7 +121,7 @@ jobs:
key: qemu-mips64el-install-1
- name: checkout-qemu
if: steps.cache-qemu.outputs.cache-hit != 'true'
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: qemu/qemu
path: qemu
Expand All @@ -147,7 +147,7 @@ jobs:
windows-x64-cpu-vs2017:
runs-on: windows-2016
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: build
run: |
mkdir build; cd build
Expand All @@ -158,7 +158,7 @@ jobs:
windows-x64-cpu-vs2019:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: build
run: |
mkdir build; cd build
Expand All @@ -169,7 +169,7 @@ jobs:
windows-x86-cpu-vs2017:
runs-on: windows-2016
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: build
run: |
mkdir build; cd build
Expand All @@ -180,7 +180,7 @@ jobs:
windows-x86-cpu-vs2019:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: build
run: |
mkdir build; cd build
Expand All @@ -191,7 +191,7 @@ jobs:
linux-x64-timvx-gcc:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: update
run: sudo apt-get update
- name: libopencv
Expand All @@ -217,7 +217,7 @@ jobs:
linux-aarch64-timvx-gcc:
runs-on: vim3
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: tim-vx
run: |
git clone https://github.com/VeriSilicon/TIM-VX.git
Expand All @@ -234,7 +234,7 @@ jobs:
linux-x64-cpu-gcc:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: update
run: sudo apt-get update
- name: depends
Expand All @@ -248,7 +248,7 @@ jobs:
linux-x64-cpu-clang:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: update
run: sudo apt-get update
- name: depends
Expand All @@ -265,7 +265,7 @@ jobs:
linux-x64-cpu-tools-convert:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: update
run: |
sudo apt-get update
Expand All @@ -278,7 +278,7 @@ jobs:
linux-x64-cpu-tools-quant:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: update
run: |
sudo apt-get update
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/code-format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jobs:
code-format:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: apt
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
with:
access_token: ${{ secrets.GITHUB_TOKEN }}
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
# We must fetch at least the immediate parents so that if this is
# a pull request then we can checkout the head.
Expand Down
2 changes: 1 addition & 1 deletion source/serializer/tmfile/op/tm2_layernorm.c
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ static int layernorm_op_map(int op)
}

static int tm2_load_layernorm(struct graph* ir_graph, struct node* ir_node, const TM2_Node* tm_node,
const TM2_Operator* tm_op)
const TM2_Operator* tm_op)
{
struct layernorm_Param* gather_param = (struct layernorm_Param*)ir_node->op.param_mem;
const struct tm2_priv* tm2_priv = (struct tm2_priv*)ir_graph->serializer_privacy;
Expand Down