Skip to content

Commit

Permalink
ci: add a m1 runner for testing the prebuilt zips too
Browse files Browse the repository at this point in the history
  • Loading branch information
spytheman committed Apr 17, 2024
1 parent 4748f11 commit a7564f2
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/prebuilt.yml
Expand Up @@ -20,6 +20,25 @@ jobs:
run: |
cd v
./v run examples/hello_world.v
./v -showcc -gc none -cc tcc -no-retry-compilation run examples/hello_world.v
macos-arm64:
## macos-14 is a m1 runner
runs-on: macos-14
timeout-minutes: 5
steps:
- name: Download V
run: |
tag=${GITHUB_REF##*/}
wget https://github.com/vlang/v/releases/download/$tag/v_macos_arm64.zip
unzip v_macos_arm64.zip
cd v
./v -version
- name: Test V
run: |
cd v
./v run examples/hello_world.v
./v -showcc -gc none -cc tcc -no-retry-compilation run examples/hello_world.v
macos-x86_64:
runs-on: macos-latest
Expand Down Expand Up @@ -52,3 +71,4 @@ jobs:
run: |
& cd v
& .\v.exe run .\examples\hello_world.v
& .\v.exe -showcc -gc none -cc tcc -no-retry-compilation run .\examples/hello_world.v

0 comments on commit a7564f2

Please sign in to comment.