Introduce compiler-rt and add bitwise and
, or
, xor
polyfills
#2
Workflow file for this run
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: "Cairo CI" | |
on: | |
push: | |
branches: ["main"] | |
paths: | |
- "compiler_rt/**" | |
pull_request: | |
branches: ["*"] | |
jobs: | |
format-check: | |
name: "Check Cairo Formatting" | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: software-mansion/setup-scarb@v1 | |
with: | |
scarb-version: "2.8.4" | |
- run: scarb fmt --check | |
working-directory: compiler_rt/ | |
tests: | |
name: "Test Cairo Code" | |
strategy: | |
fail-fast: false | |
matrix: | |
os: ["ubuntu-latest", "macos-latest"] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: software-mansion/setup-scarb@v1 | |
with: | |
scarb-version: "2.8.4" | |
- run: scarb test | |
working-directory: compiler_rt/ |