Skip to content

Commit

Permalink
Merge pull request #6043 from roc-lang/update-basic-cli-test
Browse files Browse the repository at this point in the history
update basic cli arm64 test
  • Loading branch information
Anton-4 authored Nov 21, 2023
2 parents 65257e3 + 3db18bb commit 31b62e9
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/basic_cli_test_arm64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,15 @@ jobs:
- name: Remove roc_nightly folder to keep things simple (we'll download it again later)
run: rm -rf roc_nightly

- name: Get the examples of the latest basic-cli release
run: ./ci/get_latest_release_examples.sh
- name: Get the repo of the latest basic-cli release
run: |
git clone --depth 1 https://github.com/roc-lang/basic-cli
cd basic-cli
git fetch --tags
latestTag=$(git describe --tags $(git rev-list --tags --max-count=1))
git checkout $latestTag
- name: Run all tests with latest roc nightly and latest basic-cli release
run: |
sed -i 's/x86_64/arm64/g' ./ci/test_latest_release.sh
ROC=./roc_nightly/roc EXAMPLES_DIR=./latest-release-examples/ ./ci/test_latest_release.sh
ROC=./roc_nightly/roc EXAMPLES_DIR=./basic-cli/examples/ ./ci/test_latest_release.sh
2 changes: 1 addition & 1 deletion .github/workflows/basic_webserver_build_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
- name: Download the previously uploaded roc_nightly archives
uses: actions/download-artifact@v3

- name: build basic-webserver with surgical linker and also with legacy linker
- name: build basic-webserver with legacy linker
env:
CARGO_BUILD_TARGET: x86_64-unknown-linux-musl
run: ./ci/build_basic_webserver.sh linux_x86_64 "--linker legacy"
Expand Down

0 comments on commit 31b62e9

Please sign in to comment.