Skip to content
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
15 changes: 15 additions & 0 deletions .github/workflows/build-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,27 @@ jobs:
run: |
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs > rust.sh
sh rust.sh -y
source ~/.cargo/env
rustup update stable

- name: Build hex files
run: |
export PATH=~/.cargo/bin:$PATH
tools/build-chialisp.sh

- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.12'

- name: Install pytest
run: pip install pytest

- name: Test build_chialisp.py
run: |
export PATH=~/.cargo/bin:$PATH
tools/test-build-chialisp.sh

- name: Run tests on macOS ARM
run: |
export PATH=~/.cargo/bin:$PATH
Expand Down
15 changes: 14 additions & 1 deletion .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,17 @@ jobs:
run: |
tools/build-chialisp.sh

- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.12'

- name: Install pytest
run: pip install pytest

- name: Test build_chialisp.py
run: tools/test-build-chialisp.sh

- name: Run rust tests and simulator tests
run: |
# Build without sim-tests to ensure that configuration compiles
Expand All @@ -100,9 +111,11 @@ jobs:
with:
toolchain: ${{ env.RUST_VERSION }}
components: "clippy, rustfmt"
- name: Build hex files
run: tools/build-chialisp.sh

- name: Run for coverage
run: |
cp build.rs.disabled build.rs
sudo apt-get update
sudo apt-get install lcov -y
rustup component add llvm-tools-preview
Expand Down
Loading
Loading