From a1c8d6ebdb7236186baa1c4e9f5316e224a68352 Mon Sep 17 00:00:00 2001 From: Daisuke Kato Date: Tue, 12 Sep 2023 22:25:14 +0900 Subject: [PATCH 1/3] Update Cargo.toml --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 9fd2f997de..0bcc319149 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -29,7 +29,7 @@ byteorder = "1.4.3" crc = "3.0.0" half = "2.1.0" # This is used internally but not intended to be exposed through the API. -protobuf = "=2.27.1" +protobuf = "2.27.1" # Enables conversions between ndarray::Array objects and tensorflow::Tensor ndarray = { version = "0.15.6", optional = true } rustversion = "1.0.9" From 34fa218782afbefcb330a5a698dc9cbfee1c1af6 Mon Sep 17 00:00:00 2001 From: Daisuke Kato Date: Tue, 12 Sep 2023 23:32:33 +0900 Subject: [PATCH 2/3] update ci setting --- .github/workflows/ci.yml | 40 ++++++++++++++++++++++++++++++++++++++-- 1 file changed, 38 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2d1808b393..bd36eca8fc 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,12 +12,48 @@ env: # RUSTFLAGS: "-D warnings" # it needs some works to enable this flag jobs: - tests: + ubuntu: + runs-on: ubuntu-latest + steps: + - name: Free Disk Space (Ubuntu) + uses: jlumbroso/free-disk-space@main + with: + # this might remove tools that are actually needed, + # if set to "true" but frees about 6 GB + tool-cache: false + + # all of these default to true, but feel free to set to + # "false" if necessary for your workflow + android: true + dotnet: true + haskell: true + large-packages: true + docker-images: true + swap-storage: true + - uses: actions/checkout@v2 + - uses: actions-rs/toolchain@v1 + with: + profile: minimal + toolchain: stable + override: true + components: rustfmt + - name: Setup Python # Set Python version + uses: actions/setup-python@v4 + with: + python-version: 3.8 + # Install pip and pytest + - name: Install dependencies + run: | + python -m pip install --upgrade pip + pip install -r .github/workflows/requirements.txt + - name: Execute test-all + run: ./test-all + shell: bash + others: runs-on: ${{ matrix.os }} strategy: matrix: os: - - ubuntu-latest - macos-latest - windows-latest steps: From 94e730963f04409dfa0d018022c9d27a15ca3081 Mon Sep 17 00:00:00 2001 From: Daisuke Kato Date: Wed, 13 Sep 2023 00:24:31 +0900 Subject: [PATCH 3/3] Update ci.yml --- .github/workflows/ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bd36eca8fc..81c4d23c1f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,7 +12,7 @@ env: # RUSTFLAGS: "-D warnings" # it needs some works to enable this flag jobs: - ubuntu: + test-on-ubuntu: runs-on: ubuntu-latest steps: - name: Free Disk Space (Ubuntu) @@ -49,7 +49,7 @@ jobs: - name: Execute test-all run: ./test-all shell: bash - others: + test-on-others: runs-on: ${{ matrix.os }} strategy: matrix: @@ -90,4 +90,4 @@ jobs: # toolchain: ${{ matrix.rust }} # override: true # components: clippy -# - run: cargo clippy \ No newline at end of file +# - run: cargo clippy