Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix basic-cli arm64 linux tests #7442

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 11 additions & 7 deletions .github/workflows/basic_cli_test_arm64.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
on:
pull_request:
workflow_dispatch:

# this cancels workflows currently in progress if you start a new one
Expand Down Expand Up @@ -35,23 +36,26 @@ jobs:

- run: expect -v

# Run all tests
- run: ROC=./roc_nightly/roc EXAMPLES_DIR=./examples/ ./ci/all_tests.sh
- name: Run all tests on the main branch of basic-cli
run: ROC=./roc_nightly/roc EXAMPLES_DIR=./examples/ ./ci/all_tests.sh

######
# Now test the latest basic-cli release, not the main branch
######

- name: Remove roc_nightly folder to keep things simple (we'll download it again later)
- name: Delete nightly to keep things simple, we'll download it again in ./ci/test_latest_release.sh
run: rm -rf roc_nightly

- name: Get the repo of the latest basic-cli release
run: |
git clone --depth 1 https://github.com/roc-lang/basic-cli
git clone 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
git checkout linux-arm64-test-debugging
# temp for debugging
#git fetch --tags
## Get the latest tag matching pattern X.Y*
#latestTag=$(git for-each-ref --sort=-version:refname --format '%(refname:short)' refs/tags/ | grep -E '^[0-9]+\.[0-9]+.*' | head -n1)
#git checkout $latestTag

- name: Run all tests with latest roc nightly and latest basic-cli release
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci_manager.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
on:
pull_request:
# pull_request:

name: CI manager

Expand Down
Loading