🔧 Update version and lib #26
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: Build | |
on: [push, pull_request] | |
env: | |
SCARB_VERSION: 0.6.1 | |
# For the moment we will use nightly versions of scarb to be able to use latest features of Cairo. | |
# The installation process will be a bit different than when using non nightly versions. | |
# Once Cairo and Scarb will be stable, we will use the stable versions and the `software-mansion/setup-scarb` action. | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Scarb | |
uses: software-mansion/setup-scarb@v1 | |
# Install Scarb from a nightly release | |
# run: | | |
# NIGHTLY_DATE=$(echo ${SCARB_VERSION} | cut -d '+' -f 2) | |
# wget https://github.com/software-mansion/scarb-nightlies/releases/download/${NIGHTLY_DATE}/scarb-${NIGHTLY_DATE}-x86_64-unknown-linux-gnu.tar.gz | |
# tar -xvf scarb-${NIGHTLY_DATE}-x86_64-unknown-linux-gnu.tar.gz | |
# sudo mv scarb-v${SCARB_VERSION}-x86_64-unknown-linux-gnu/bin/scarb /usr/local/bin | |
- name: Check cairo format | |
run: scarb fmt --check | |
- name: Build cairo programs | |
run: scarb build |