Skip to content

Commit

Permalink
test basic-cli release and main on arm64
Browse files Browse the repository at this point in the history
  • Loading branch information
Anton-4 committed Nov 4, 2023
1 parent ac4b59a commit b7d2e47
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 4 deletions.
37 changes: 35 additions & 2 deletions .github/workflows/basic_cli_test_arm64.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
on:
workflow_dispatch:
pull_request:

# this cancels workflows currently in progress if you start a new one
concurrency:
Expand All @@ -15,8 +16,40 @@ jobs:
with:
repository: roc-lang/basic-cli
ref: main

- name: get latest roc nightly
run: |
curl -fOL https://github.com/roc-lang/roc/releases/download/nightly/roc_nightly-linuxTESTING_x86_64-latest.tar.gz
- name: rename nightly tar
run: mv $(ls | grep "roc_nightly.*tar\.gz") roc_nightly.tar.gz

- name: decompress the tar
run: tar -xzf roc_nightly.tar.gz

- run: rm roc_nightly.tar.gz

- name: simplify nightly folder name
run: mv roc_nightly* roc_nightly

- run: ./roc_nightly/roc version

- run: expect -v

# Run all tests
- run: ./ci/all_tests.sh

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

- name: Remove roc nightly to keep things simple (we'll download it again later)
run: rm -rf roc_nightly

- name: Run all tests with latest roc nightly + latest basic-cli release
- name: Get the examples of the latest basic-cli release
run: ./ci/get_latest_release_examples.sh

- 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
./ci/test_latest_release.sh
EXAMPLES_DIR=./latest-release-examples ./ci/test_latest_release.sh
2 changes: 1 addition & 1 deletion .github/workflows/nix_linux_arm64_cargo.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
on:
pull_request:
# pull_request:

name: test cargo build on linux arm64 inside nix

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/nix_linux_arm64_default.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
on:
pull_request:
# pull_request:

name: test default.nix on linux arm64

Expand Down

0 comments on commit b7d2e47

Please sign in to comment.