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

CI: integrate macOS #519

Open
ChinYikMing opened this issue Dec 15, 2024 · 3 comments
Open

CI: integrate macOS #519

ChinYikMing opened this issue Dec 15, 2024 · 3 comments

Comments

@ChinYikMing
Copy link
Collaborator

ChinYikMing commented Dec 15, 2024

The current CI pipeline utilizes Linux-based x86-64 and Aarch64 machines for verification and validation (V&V). To enhance the portability of rv32emu, it is both reasonable and feasible to integrate macOS into the CI pipeline.

@ChinYikMing
Copy link
Collaborator Author

ChinYikMing commented Dec 15, 2024

A simple CI pipeline for system emulation:

...
+macOS:
+    runs-on: macos-latest
+   steps:
+    - uses: actions/checkout@v4
+    - name: install-dependencies
+      run: |
+            brew install make dtc expect
+    - name: boot Linux kernel test
+      run: |
+            make clean && make ENABLE_SYSTEM=1 && make ENABLE_SYSTEM=1 artifact -j$(sysctl -n hw.logicalcpu)
+            .ci/boot-linux.sh
+            make ENABLE_SYSTEM=1 clean
 ...

@ChinYikMing
Copy link
Collaborator Author

ChinYikMing commented Dec 15, 2024

The fetching of the checksum occasionally fails in previous actions(1, 2. 3, ...).

To fully close this issue, the failure should not occur too frequently and the macOS pipeline should be capable of performing V&V for both user and system emulation.

Found at #508

@jserv jserv added this to the release-2024.2 milestone Dec 15, 2024
@ChinYikMing
Copy link
Collaborator Author

The occasional failure could be fixed by #536.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants