-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3 from rainlanguage/2024-05-21-cargo-and-erc165
cargo setup and functionalities for erc165
- Loading branch information
Showing
8 changed files
with
5,548 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
name: Manual rs release | ||
on: [workflow_dispatch] | ||
|
||
jobs: | ||
release: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
submodules: recursive | ||
|
||
- uses: DeterminateSystems/nix-installer-action@v4 | ||
- uses: DeterminateSystems/magic-nix-cache-action@v2 | ||
|
||
- run: | | ||
git config --global user.email "${{ secrets.CI_GIT_EMAIL }}" | ||
git config --global user.name "${{ secrets.CI_GIT_USER }}" | ||
- run: nix develop -c rainix-rs-prelude | ||
|
||
- run: nix develop -c cargo release --no-confirm --execute alpha | ||
env: | ||
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
name: Rainix CI | ||
on: [push] | ||
|
||
jobs: | ||
standard-tests: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
task: [rainix-rs-test, rainix-rs-artifacts, rainix-rs-static] | ||
fail-fast: false | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
submodules: recursive | ||
|
||
- name: Install Nix 1/2 | ||
uses: DeterminateSystems/nix-installer-action@v4 | ||
- name: Install Nix 2/2 | ||
uses: DeterminateSystems/magic-nix-cache-action@v2 | ||
|
||
- name: Rainix Rust Prelude | ||
run: nix develop -c rainix-rs-prelude | ||
|
||
- name: Run Command ${{ matrix.task }} | ||
run: nix develop -c ${{ matrix.task }} |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
edition = "2018" | ||
reorder_imports = false | ||
reorder_modules = false |
Oops, something went wrong.