From cde9f165a9ec9f62c5d875b863e18388338da9a4 Mon Sep 17 00:00:00 2001 From: agibsonccc Date: Wed, 10 Mar 2021 14:11:36 +0900 Subject: [PATCH] Update deps --- .github/actions/update-deps-linux/action.yml | 8 ++++++++ .github/workflows/build-android-x86_64.yml | 1 + .github/workflows/build-deploy-android-arm32.yml | 1 + .github/workflows/build-deploy-android-arm64.yml | 1 + .github/workflows/build-deploy-linux-arm32.yml | 1 + .github/workflows/build-deploy-linux-arm64.yml | 1 + .github/workflows/build-deploy-linux-cuda-11.0.yml | 1 + .github/workflows/build-deploy-linux-cuda-11.2.yml | 1 + .github/workflows/build-deploy-linux-x86_64.yml | 1 + 9 files changed, 16 insertions(+) create mode 100644 .github/actions/update-deps-linux/action.yml diff --git a/.github/actions/update-deps-linux/action.yml b/.github/actions/update-deps-linux/action.yml new file mode 100644 index 000000000..d70259fce --- /dev/null +++ b/.github/actions/update-deps-linux/action.yml @@ -0,0 +1,8 @@ +name: Install protobuf linux +runs: + using: composite + steps: + - name: Install protobuf linux + shell: bash + run: | + apt-get update && apt-get upgrade \ No newline at end of file diff --git a/.github/workflows/build-android-x86_64.yml b/.github/workflows/build-android-x86_64.yml index 4f02dbf4f..82ce71160 100644 --- a/.github/workflows/build-android-x86_64.yml +++ b/.github/workflows/build-android-x86_64.yml @@ -17,6 +17,7 @@ jobs: with: ndk-version: r18b - uses: actions/checkout@v2 + - uses: ./.github/actions/update-deps-linux - uses: ./.github/actions/install-protobuf-linux - uses: ./.github/actions/install-cmake-linux - name: Set up Java for publishing to GitHub Packages diff --git a/.github/workflows/build-deploy-android-arm32.yml b/.github/workflows/build-deploy-android-arm32.yml index edd06604b..e7a3750d6 100644 --- a/.github/workflows/build-deploy-android-arm32.yml +++ b/.github/workflows/build-deploy-android-arm32.yml @@ -14,6 +14,7 @@ jobs: with: access_token: ${{ github.token }} - uses: actions/checkout@v2 + - uses: ./.github/actions/update-deps-linux - uses: ./.github/actions/install-protobuf-linux - uses: ./.github/actions/install-cmake-linux - name: Set up Java for publishing to GitHub Packages diff --git a/.github/workflows/build-deploy-android-arm64.yml b/.github/workflows/build-deploy-android-arm64.yml index 972cbb190..0243bfe7d 100644 --- a/.github/workflows/build-deploy-android-arm64.yml +++ b/.github/workflows/build-deploy-android-arm64.yml @@ -14,6 +14,7 @@ jobs: with: access_token: ${{ github.token }} - uses: actions/checkout@v2 + - uses: ./.github/actions/update-deps-linux - uses: ./.github/actions/install-protobuf-linux - uses: ./.github/actions/install-cmake-linux - name: Set up Java for publishing to GitHub Packages diff --git a/.github/workflows/build-deploy-linux-arm32.yml b/.github/workflows/build-deploy-linux-arm32.yml index 32921fbce..ac4c6aa90 100644 --- a/.github/workflows/build-deploy-linux-arm32.yml +++ b/.github/workflows/build-deploy-linux-arm32.yml @@ -14,6 +14,7 @@ jobs: with: access_token: ${{ github.token }} - uses: actions/checkout@v2 + - uses: ./.github/actions/update-deps-linux - uses: ./.github/actions/install-protobuf-linux - uses: ./.github/actions/install-cmake-linux - name: Set up Java for publishing to GitHub Packages diff --git a/.github/workflows/build-deploy-linux-arm64.yml b/.github/workflows/build-deploy-linux-arm64.yml index 0b1a5f7c0..8c641ba86 100644 --- a/.github/workflows/build-deploy-linux-arm64.yml +++ b/.github/workflows/build-deploy-linux-arm64.yml @@ -14,6 +14,7 @@ jobs: with: access_token: ${{ github.token }} - uses: actions/checkout@v2 + - uses: ./.github/actions/update-deps-linux - uses: ./.github/actions/install-protobuf-linux - uses: ./.github/actions/install-cmake-linux - name: Set up Java for publishing to GitHub Packages diff --git a/.github/workflows/build-deploy-linux-cuda-11.0.yml b/.github/workflows/build-deploy-linux-cuda-11.0.yml index b88743d09..037beec42 100644 --- a/.github/workflows/build-deploy-linux-cuda-11.0.yml +++ b/.github/workflows/build-deploy-linux-cuda-11.0.yml @@ -24,6 +24,7 @@ jobs: env: cuda: 11.0.167 GCC: 9 + - uses: ./.github/actions/update-deps-linux - uses: ./.github/actions/install-protobuf-linux - uses: ./.github/actions/install-cmake-linux - name: Set up Java for publishing to GitHub Packages diff --git a/.github/workflows/build-deploy-linux-cuda-11.2.yml b/.github/workflows/build-deploy-linux-cuda-11.2.yml index b4039a89a..68880363b 100644 --- a/.github/workflows/build-deploy-linux-cuda-11.2.yml +++ b/.github/workflows/build-deploy-linux-cuda-11.2.yml @@ -23,6 +23,7 @@ jobs: env: cuda: 11.2.1_461 GCC: 9 + - uses: ./.github/actions/update-deps-linux - uses: ./.github/actions/install-protobuf-linux - uses: ./.github/actions/install-cmake-linux - name: Set up Java for publishing to GitHub Packages diff --git a/.github/workflows/build-deploy-linux-x86_64.yml b/.github/workflows/build-deploy-linux-x86_64.yml index 20100df1f..2a98c4fe5 100644 --- a/.github/workflows/build-deploy-linux-x86_64.yml +++ b/.github/workflows/build-deploy-linux-x86_64.yml @@ -13,6 +13,7 @@ jobs: with: access_token: ${{ github.token }} - uses: actions/checkout@v2 + - uses: ./.github/actions/update-deps-linux - uses: ./.github/actions/install-protobuf-linux - uses: ./.github/actions/install-cmake-linux - name: Set up Java for publishing to GitHub Packages