-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #112 from heroku/heroku-24
Support Ubuntu 24.04 / heroku-24 (amd64 and arm64) GUS-W-14667552 GUS-W-15158300
- Loading branch information
Showing
5 changed files
with
36 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -41,11 +41,17 @@ jobs: | |
run: cargo test --locked | ||
|
||
integration-test: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
builder: ["builder:22", "builder:20"] | ||
builder: ["builder:24", "builder:22", "builder:20"] | ||
arch: ["amd64", "arm64"] | ||
exclude: | ||
- builder: "builder:22" | ||
arch: "arm64" | ||
- builder: "builder:20" | ||
arch: "arm64" | ||
runs-on: ${{ matrix.arch == 'arm64' && 'pub-hk-ubuntu-22.04-arm-medium' || 'ubuntu-latest' }} | ||
env: | ||
INTEGRATION_TEST_CNB_BUILDER: heroku/${{ matrix.builder }} | ||
steps: | ||
|
@@ -54,11 +60,11 @@ jobs: | |
with: | ||
submodules: true | ||
- name: Install musl-tools | ||
run: sudo apt-get install musl-tools --no-install-recommends | ||
run: sudo apt-get install -y --no-install-recommends musl-tools | ||
- name: Update Rust toolchain | ||
run: rustup update | ||
- name: Install Rust linux-musl target | ||
run: rustup target add x86_64-unknown-linux-musl | ||
run: rustup target add ${{ matrix.arch == 'arm64' && 'aarch64' || 'x86_64' }}-unknown-linux-musl | ||
- name: Rust Cache | ||
uses: Swatinem/[email protected] | ||
- name: Install Pack CLI | ||
|
@@ -69,4 +75,4 @@ jobs: | |
# only those and not the unit tests, via the `--ignored` option. On the latest stack | ||
# we run all integration tests, but on older stacks we only run stack-specific tests. | ||
- name: Run integration tests (all tests) | ||
run: cargo test --locked -- --ignored --test-threads 5 | ||
run: cargo test --locked -- --ignored --test-threads $(($(nproc)+1)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters