Fix Foundry project structure #167
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Makefile CI | |
on: | |
push: | |
branches: ["main"] | |
pull_request: | |
branches: ["main"] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: configure | |
run: ./configure | |
- name: Install Foundry | |
uses: foundry-rs/foundry-toolchain@v1 | |
- name: Initialize Git Submodules | |
run: git submodule update --init --recursive | |
- name: Install Forge Dependencies | |
run: forge install | |
- name: Run build | |
run: | | |
export PATH="/home/runner/.config/.foundry/bin:$PATH"; | |
make build; | |
- name: Run tests | |
run: | | |
export PATH="/home/runner/.config/.foundry/bin:$PATH"; | |
make test; |