Skip to content

Commit

Permalink
Merge pull request #81 from software-mansion-labs/revert-75-nightly
Browse files Browse the repository at this point in the history
Revert "Nightly tracking PR"
  • Loading branch information
MaksymilianDemitraszek authored May 30, 2023
2 parents 7f7539e + f68145e commit 1fe6d1d
Show file tree
Hide file tree
Showing 721 changed files with 88,361 additions and 81,386 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,6 @@ jobs:
with:
components: rustfmt
toolchain: nightly-2022-11-03
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
- run: |
Expand All @@ -44,7 +41,7 @@ jobs:
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
toolchain: nightly-2022-11-03
- uses: Swatinem/rust-cache@v2
- run: scripts/cairo_fmt.sh --check

Expand All @@ -56,7 +53,7 @@ jobs:
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
toolchain: nightly-2022-11-03
- uses: Swatinem/rust-cache@v2
- run: scripts/cairo_test.sh
- run: scripts/starknet_test.sh
Expand Down
35 changes: 11 additions & 24 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,39 +2,26 @@ name: release
on:
push:
tags:
- "v*"
- 'v*'

jobs:
release:
name: Publish for ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
include:
- os: ubuntu-latest
artifact_name: x86_64-unknown-linux-musl.tar.gz
asset_name: release-x86_64-unknown-linux-musl.tar.gz
target: x86_64-unknown-linux-musl
- os: macos-latest
artifact_name: aarch64-apple-darwin.tar.gz
asset_name: release-aarch64-apple-darwin.tar
target: aarch64-apple-darwin
name: Create Official Release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install musl
run: |
if [ "${{ matrix.target }}" == "x86_64-unknown-linux-musl" ]
then
sudo apt-get install -y musl-tools
fi
- name: Build in ${{ matrix.target }}
run: ./scripts/release_tar.sh ${{ matrix.target }}
- name: Install musl tools.
run: sudo apt-get install -y musl-tools

- name: Build in unknown linux
run: ./scripts/release_tar.sh x86_64-unknown-linux-musl

- name: Upload binaries to release
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: target/${{ matrix.artifact_name }}
asset_name: ${{ matrix.asset_name }}
file: target/x86_64-unknown-linux-musl.tar.gz
asset_name: release-x86_64-unknown-linux-musl.tar.gz
tag: ${{ github.ref }}
overwrite: true
body: "Cairo compiler."
30 changes: 0 additions & 30 deletions .github/workflows/vscode-cairo-ci.yaml

This file was deleted.

3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,4 @@
.vscode/
.idea/
.spr.yml
node_modules
.DS_Store
*.DS_Store
Loading

0 comments on commit 1fe6d1d

Please sign in to comment.