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

Update ci.yml for Arm macs #633

Open
wants to merge 2 commits into
base: master
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
25 changes: 22 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@ jobs:
name: Vale-Ubuntu-0.zip
path: ./release-ubuntu/Vale-Ubuntu-0.zip

build_and_test_mac:
runs-on: macOS-latest
build_and_test_mac_intel:
runs-on: macOS-13
steps:
- name: Checkout
uses: actions/checkout@v2
Expand All @@ -84,4 +84,23 @@ jobs:
- uses: actions/upload-artifact@v2
with:
name: Vale-Mac-0.zip
path: ./release-mac/Vale-Mac-0.zip
path: ./release-mac/Vale-Mac-Intel-0.zip

build_and_test_mac_arm:
runs-on: macos-14
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup JDK
uses: actions/setup-java@v3
with:
distribution: adopt
java-version: 11
- name: install prereqs
run: ./scripts/mac/install-compiler-prereqs.sh ~/BootstrappingValeCompiler
- name: build compiler
run: ./scripts/mac/build-compiler.sh ~/BootstrappingValeCompiler --test=all ./scripts/VERSION
- uses: actions/upload-artifact@v2
with:
name: Vale-Mac-0.zip
path: ./release-mac/Vale-Mac-Arm-0.zip
2 changes: 1 addition & 1 deletion build-compiler.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ git clone --single-branch --branch master https://github.com/ValeLang/Vale
# Add the -j and -s flags to the below command to also install Java and SBT from external APT repositories
Vale/scripts/ubuntu/install-compiler-prereqs.sh -l LLVMForVale -b BootstrappingValeCompiler
cd Vale
./scripts/ubuntu/build-compiler.sh "$PWD/../LLVMForVale/clang+llvm-13.0.1-x86_64-linux-gnu-ubuntu-18.04" "$PWD/../BootstrappingValeCompiler" --test=all ./scripts/VERSION
./scripts/ubuntu/build-compiler.sh "$PWD/../LLVMForVale/clang+llvm-16.0.0-x86_64-linux-gnu-ubuntu-18.04" "$PWD/../BootstrappingValeCompiler" --test=all ./scripts/VERSION

```

Expand Down
Loading