Skip to content

Commit c3ed108

Browse files
committed
Enable macOS workflows
1 parent 9dce500 commit c3ed108

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

.github/workflows/build_and_release.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
matrix:
4747
os:
4848
- ubuntu-latest
49-
# - macos-latest
49+
- macos-latest
5050

5151
steps:
5252
- name: Free Disk Space (Ubuntu)
@@ -63,16 +63,18 @@ jobs:
6363

6464
- uses: actions/checkout@v4
6565

66-
- name: Install ninja
66+
- name: Install ninja and riscv-tools
6767
if: matrix.os == 'ubuntu-latest'
6868
run: |
6969
sudo apt update
70-
sudo apt-get -y install ninja-build
70+
sudo apt-get -y install ninja-build binutils-riscv64-unknown-elf gcc-riscv64-unknown-elf
7171
72-
- name: Install ninja
72+
- name: Install ninja and riscv-tools
7373
if: contains(matrix.os, 'macos')
7474
run: |
7575
brew install ninja
76+
brew tap riscv-software-src/riscv
77+
brew install riscv-tools
7678
7779
- name: Download source
7880
run: ./clone.sh

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ jobs:
1212
include:
1313
- os: ubuntu-latest
1414
triple: x86_64-unknown-linux-gnu
15-
# - os: macos-14
16-
# triple: aarch64-apple-darwin
17-
# - os: macos-13
18-
# triple: x86_64-apple-darwin
15+
- os: macos-14
16+
triple: aarch64-apple-darwin
17+
- os: macos-13
18+
triple: x86_64-apple-darwin
1919
# - os: buildjet-32vcpu-ubuntu-2004
2020
# triple: x86_64-unknown-linux-gnu
2121
# - os: buildjet-32vcpu-ubuntu-2204-arm

build.sh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@ touch /tmp/riscv32em-athena-zkvm-elf.json
1010

1111
# Will create component archives (dists) ./rust/build/dist
1212
cd rust
13-
#RUSTFLAGS="-C link-arg=-L$HOME/compiler_rt_build_riscv32em-athena-zkvm-elf/lib/baremetal" \
14-
#LIBRARY_PATH="$HOME/compiler_rt_build_riscv32em-athena-zkvm-elf/lib/baremetal" \
1513
RUST_TARGET_PATH="/tmp" \
1614
CARGO_TARGET_RISCV32EM_ATHENA_ZKVM_ELF_RUSTFLAGS="-Cpasses=loweratomic" \
1715
CFLAGS_riscv32em_athena_zkvm_elf="-ffunction-sections -fdata-sections -fPIC -march=rv32em -mabi=ilp32e" \

0 commit comments

Comments
 (0)