Skip to content

Commit

Permalink
go back to github runner but optimize build space before doing run
Browse files Browse the repository at this point in the history
  • Loading branch information
jdeepee committed Oct 17, 2023
1 parent aab6c90 commit 089d933
Show file tree
Hide file tree
Showing 8 changed files with 219 additions and 56 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/agent-language-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,21 @@ jobs:

strategy:
matrix:
platform: [self-hosted]
container: ["ubuntu:22.04"]
platform: [ubuntu-22.04]
node-version: [16.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/

runs-on: ${{ matrix.platform }}

steps:
- name: Maximize build space
uses: easimon/maximize-build-space@master
with:
root-reserve-mb: 512
swap-size-mb: 1024
remove-dotnet: 'true'
remove-andriod: 'true'
remove-haskell: 'true'
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
Expand Down
11 changes: 9 additions & 2 deletions .github/workflows/direct-message-language-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,21 @@ jobs:

strategy:
matrix:
platform: [self-hosted]
container: ["ubuntu:22.04"]
platform: [ubuntu-22.04]
node-version: [16.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/

runs-on: ${{ matrix.platform }}

steps:
- name: Maximize build space
uses: easimon/maximize-build-space@master
with:
root-reserve-mb: 512
swap-size-mb: 1024
remove-dotnet: 'true'
remove-andriod: 'true'
remove-haskell: 'true'
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
Expand Down
22 changes: 18 additions & 4 deletions .github/workflows/file-storage-language-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,21 @@ jobs:

strategy:
matrix:
platform: [self-hosted]
container: ["ubuntu:22.04"]
platform: [ubuntu-22.04]
node-version: [16.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/

runs-on: ${{ matrix.platform }}

steps:
- name: Maximize build space
uses: easimon/maximize-build-space@master
with:
root-reserve-mb: 512
swap-size-mb: 1024
remove-dotnet: 'true'
remove-andriod: 'true'
remove-haskell: 'true'
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
Expand Down Expand Up @@ -63,14 +70,21 @@ jobs:

strategy:
matrix:
platform: [self-hosted]
container: ["ubuntu:22.04"]
platform: [ubuntu-22.04]
node-version: [16.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/

runs-on: ${{ matrix.platform }}

steps:
- name: Maximize build space
uses: easimon/maximize-build-space@master
with:
root-reserve-mb: 512
swap-size-mb: 1024
remove-dotnet: 'true'
remove-andriod: 'true'
remove-haskell: 'true'
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
Expand Down
11 changes: 9 additions & 2 deletions .github/workflows/integration_js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,21 @@ jobs:

strategy:
matrix:
platform: [self-hosted]
container: ["ubuntu:22.04"]
platform: [ubuntu-22.04]
node-version: [16.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/

runs-on: ${{ matrix.platform }}

steps:
- name: Maximize build space
uses: easimon/maximize-build-space@master
with:
root-reserve-mb: 512
swap-size-mb: 1024
remove-dotnet: 'true'
remove-andriod: 'true'
remove-haskell: 'true'
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
Expand Down
88 changes: 72 additions & 16 deletions .github/workflows/p-diff-sync-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,21 @@ jobs:

strategy:
matrix:
platform: [self-hosted]
container: ["ubuntu:22.04"]
platform: [ubuntu-22.04]
node-version: [16.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/

runs-on: ${{ matrix.platform }}

steps:
- name: Maximize build space
uses: easimon/maximize-build-space@master
with:
root-reserve-mb: 512
swap-size-mb: 1024
remove-dotnet: 'true'
remove-andriod: 'true'
remove-haskell: 'true'
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
Expand All @@ -46,14 +53,21 @@ jobs:

strategy:
matrix:
platform: [self-hosted]
container: ["ubuntu:22.04"]
platform: [ubuntu-22.04]
node-version: [16.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/

runs-on: ${{ matrix.platform }}

steps:
- name: Maximize build space
uses: easimon/maximize-build-space@master
with:
root-reserve-mb: 512
swap-size-mb: 1024
remove-dotnet: 'true'
remove-andriod: 'true'
remove-haskell: 'true'
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
Expand Down Expand Up @@ -92,14 +106,21 @@ jobs:

strategy:
matrix:
platform: [self-hosted]
container: ["ubuntu:22.04"]
platform: [ubuntu-22.04]
node-version: [16.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/

runs-on: ${{ matrix.platform }}

steps:
- name: Maximize build space
uses: easimon/maximize-build-space@master
with:
root-reserve-mb: 512
swap-size-mb: 1024
remove-dotnet: 'true'
remove-andriod: 'true'
remove-haskell: 'true'
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
Expand Down Expand Up @@ -139,14 +160,21 @@ jobs:

strategy:
matrix:
platform: [self-hosted]
container: ["ubuntu:22.04"]
platform: [ubuntu-22.04]
node-version: [16.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/

runs-on: ${{ matrix.platform }}

steps:
- name: Maximize build space
uses: easimon/maximize-build-space@master
with:
root-reserve-mb: 512
swap-size-mb: 1024
remove-dotnet: 'true'
remove-andriod: 'true'
remove-haskell: 'true'
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
Expand Down Expand Up @@ -186,14 +214,21 @@ jobs:

strategy:
matrix:
platform: [self-hosted]
container: ["ubuntu:22.04"]
platform: [ubuntu-22.04]
node-version: [16.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/

runs-on: ${{ matrix.platform }}

steps:
- name: Maximize build space
uses: easimon/maximize-build-space@master
with:
root-reserve-mb: 512
swap-size-mb: 1024
remove-dotnet: 'true'
remove-andriod: 'true'
remove-haskell: 'true'
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
Expand Down Expand Up @@ -234,14 +269,21 @@ jobs:

strategy:
matrix:
platform: [self-hosted]
container: ["ubuntu:22.04"]
platform: [ubuntu-22.04]
node-version: [16.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/

runs-on: ${{ matrix.platform }}

steps:
- name: Maximize build space
uses: easimon/maximize-build-space@master
with:
root-reserve-mb: 512
swap-size-mb: 1024
remove-dotnet: 'true'
remove-andriod: 'true'
remove-haskell: 'true'
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
Expand Down Expand Up @@ -281,14 +323,21 @@ jobs:

strategy:
matrix:
platform: [self-hosted]
container: ["ubuntu:22.04"]
platform: [ubuntu-22.04]
node-version: [16.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/

runs-on: ${{ matrix.platform }}

steps:
- name: Maximize build space
uses: easimon/maximize-build-space@master
with:
root-reserve-mb: 512
swap-size-mb: 1024
remove-dotnet: 'true'
remove-andriod: 'true'
remove-haskell: 'true'
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
Expand Down Expand Up @@ -328,14 +377,21 @@ jobs:

strategy:
matrix:
platform: [self-hosted]
container: ["ubuntu:22.04"]
platform: [ubuntu-22.04]
node-version: [16.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/

runs-on: ${{ matrix.platform }}

steps:
- name: Maximize build space
uses: easimon/maximize-build-space@master
with:
root-reserve-mb: 512
swap-size-mb: 1024
remove-dotnet: 'true'
remove-andriod: 'true'
remove-haskell: 'true'
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
Expand Down
Loading

0 comments on commit 089d933

Please sign in to comment.