Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stage #94

Merged
merged 63 commits into from
Dec 11, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
63 commits
Select commit Hold shift + click to select a range
80f74de
feat: canonical numbering work around.
l-monninger Nov 28, 2023
141126c
chore: structuring integrated movement CLI.
l-monninger Nov 28, 2023
067ca0d
feat: adding branch-specific releases.
l-monninger Nov 28, 2023
976edd3
cicd: switch to test.debug.sh.
l-monninger Nov 29, 2023
0f64f57
Merge branch 'main' into dev
l-monninger Nov 29, 2023
2c9ad19
chore: merge.
l-monninger Nov 29, 2023
af55b56
feat(wip): integrated movementctl.
l-monninger Nov 29, 2023
5285046
feat: integrated CLI structuring.
l-monninger Nov 29, 2023
775a140
chore: commenting on build and test subnet.
l-monninger Nov 29, 2023
14fb7c2
fix: workflow should reference follow-on workflows on triggering branch.
l-monninger Nov 29, 2023
47c9f30
fix: must checkout branch.
l-monninger Nov 30, 2023
9aefdff
fix: should be .github.
l-monninger Nov 30, 2023
92b1ccd
fix: trying without the branch ref.
l-monninger Nov 30, 2023
e32d1c0
fix: trying with ref.
l-monninger Nov 30, 2023
074b351
fix: restructuring ctl.
l-monninger Nov 30, 2023
21b2b31
fix: merge.
l-monninger Nov 30, 2023
70d369a
chore: structure ctl.
l-monninger Nov 30, 2023
06bcc11
fix: structuring CLI.
l-monninger Nov 30, 2023
ef2ac8d
chore: CLI structuring.
l-monninger Nov 30, 2023
348c7bc
fix: registering workflow.
l-monninger Nov 30, 2023
b70b269
fix: dev
l-monninger Nov 30, 2023
baf7a6c
fix: checking dev workflow.
l-monninger Nov 30, 2023
3493a8d
fix: testing new trigger-workflow action, hopefully we can see the is…
l-monninger Nov 30, 2023
9256482
fix: dev workflow with gh cli.
l-monninger Nov 30, 2023
b623c00
fix: no inputs.
l-monninger Nov 30, 2023
bd3a3a6
fix: branch-based.
l-monninger Nov 30, 2023
fc37328
fix: protoc test.
l-monninger Nov 30, 2023
0bdad00
fix: use arduino/setup-protoc
l-monninger Nov 30, 2023
b675588
fix: setting up movement dir.
l-monninger Nov 30, 2023
59224a2
fix: protoc versioning changed, need to updated script perhaps.
l-monninger Nov 30, 2023
41f0fa4
fix: should be version 3.15.8
l-monninger Nov 30, 2023
35bfd3a
fix: try allowing variable installation.
l-monninger Nov 30, 2023
18f52a8
feat: m1 manifest.
l-monninger Nov 30, 2023
2608f27
fix: trying protoc version with double-quotes.
l-monninger Nov 30, 2023
20f14ec
feat: .movement
l-monninger Nov 30, 2023
a660cc0
feat: trying with earlier version of setup-protoc.
l-monninger Nov 30, 2023
45dfd20
feat: improvements to movement dir.
l-monninger Dec 1, 2023
5325bd3
feat: integrated sui and aptos.
l-monninger Dec 1, 2023
18bcab2
feat: integrated sui and aptos.
l-monninger Dec 2, 2023
f5f8292
feat: updating submodules.
l-monninger Dec 2, 2023
f9f536d
fix: lock canonical.
l-monninger Dec 2, 2023
8d93bbc
Merge branch 'integrated-movement-cli' into dev
l-monninger Dec 2, 2023
dd5ff32
feat: updating build.
l-monninger Dec 2, 2023
41380a8
cicd(test): release.
l-monninger Dec 2, 2023
6348af0
cicd(test): release.
l-monninger Dec 2, 2023
1d45b42
fix(cicd): there are no +'s in GitHub actions you silly goose.
l-monninger Dec 2, 2023
026fe52
fix(cicd): removing condition.
l-monninger Dec 2, 2023
2e79780
fix: submodules please stop doing this.
l-monninger Dec 2, 2023
0f1ef24
cicd(test): remove m1-cli.
l-monninger Dec 2, 2023
658ddec
chore: defaults.
l-monninger Dec 4, 2023
8c57ffc
fix: hotfix on CLI faucet.
l-monninger Dec 4, 2023
87ced01
fix: updated subnet request proxy.
l-monninger Dec 4, 2023
084c946
chore: drop movement-benches since maintainer of that crate is unclear.
l-monninger Dec 4, 2023
78c6e8e
cicd: better support for windows, macos-x86_64, and stage/main suppor…
l-monninger Dec 5, 2023
f984525
fix: dropping movement-benchmark from subnet tests.
l-monninger Dec 5, 2023
184d8ac
fix: aliasing is not reliable.
l-monninger Dec 5, 2023
e0d442d
feat: docs galore.
l-monninger Dec 7, 2023
f004c80
chore: improving skeletons.
l-monninger Dec 7, 2023
8b2f377
chore: removing old canonical.
l-monninger Dec 7, 2023
6438553
chore: scaffolding and docs.
l-monninger Dec 7, 2023
d5b7d40
docs: recommended readings and viewsings.
l-monninger Dec 7, 2023
f33d287
Merge pull request #93 from movemntdev/dev
l-monninger Dec 11, 2023
5814a0b
fix: merge conflict.
l-monninger Dec 11, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions .github/actions/setup-linux-aarch64/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: 'Setup Linux x86_64'
description: 'Sets up the environment for Linux x86_64 builds with Rust'

runs:
using: 'composite'
steps:

- name: Install build essentials
run: |
sudo apt-get update
sudo apt-get install -y build-essential lld libpq-dev unzip
shell: bash

- name: Install Protoc
uses: arduino/[email protected]
with:
version: "3.20.1"

- name: Set up Rust
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: 1.70
9 changes: 6 additions & 3 deletions .github/actions/setup-linux-x86_64/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,13 @@ runs:
- name: Install build essentials
run: |
sudo apt-get update
sudo apt-get install -y build-essential lld libpq-dev
# Install Protocol Buffers Compiler (protoc)
sudo apt-get install -y protobuf-compiler
sudo apt-get install -y build-essential lld libpq-dev unzip
shell: bash

- name: Install Protoc
uses: arduino/[email protected]
with:
version: "3.20.1"

- name: Set up Rust
uses: actions-rs/toolchain@v1
Expand Down
30 changes: 30 additions & 0 deletions .github/actions/setup-macos-aarch64/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: 'Setup macOS x86_64'
description: 'Sets up the environment for macOS builds with Rust'

runs:
using: 'composite'
steps:

- name: Install build essentials
run: |
brew update
brew install llvm postgresql unzip
shell: bash

- name: Install OpenSSL
run: brew install openssl
shell: bash

- name: Install Protoc
uses: arduino/[email protected]
with:
version: "3.20.1"

- name: Set up Rust
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: 1.70

- name: Export LLVM path
run: echo "LLVM_SYS_130_PREFIX=$(brew --prefix llvm)" >> $GITHUB_ENV
30 changes: 30 additions & 0 deletions .github/actions/setup-macos-x86_64/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: 'Setup macOS x86_64'
description: 'Sets up the environment for macOS builds with Rust'

runs:
using: 'composite'
steps:

- name: Install build essentials
run: |
brew update
brew install llvm postgresql unzip
shell: bash

- name: Install OpenSSL
run: brew install openssl
shell: bash

- name: Install Protoc
uses: arduino/[email protected]
with:
version: "3.20.1"

- name: Set up Rust
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: 1.70

- name: Export LLVM path
run: echo "LLVM_SYS_130_PREFIX=$(brew --prefix llvm)" >> $GITHUB_ENV
26 changes: 26 additions & 0 deletions .github/actions/setup-windows-x86_64/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: 'Setup Windows x86_64'
description: 'Sets up the environment for Windows builds with Rust'

runs:
using: 'composite'
steps:

- name: Install build essentials
run: |
choco install llvm postgresql unzip
shell: pwsh

- name: Install OpenSSL
run: choco install openssl
shell: pwsh

- name: Install Protoc
uses: arduino/[email protected]
with:
version: "3.20.1"

- name: Set up Rust
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: 1.70
30 changes: 30 additions & 0 deletions .github/actions/trigger-workflow/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: 'Trigger Workflow'
description: 'Triggers another GitHub Actions workflow; useful for ensuring the workflow runs based off of the appropriate branch.'

inputs:
token:
description: 'Personal Access Token (PAT) with permissions to trigger workflows'
required: true
workflowFileName:
description: 'The file name of the workflow to trigger'
required: true
workflowInputs:
description: 'Inputs for the triggered workflow in JSON format'
required: false
default: '{}'

runs:
using: 'composite'
steps:

# for some reason this only works with gh-cli
- name: Trigger another workflow
run: |
echo ${{ inputs.token }} | gh auth login --with-token
echo "Repository: ${{ github.repository }}"
echo "Workflow File Name: ${{ inputs.workflowFileName }}"
echo "Ref: ${{ github.ref_name }}"
echo "Inputs: ${{ inputs.workflowInputs }}"

gh workflow run ${{ inputs.workflowFileName }} --ref ${{ github.ref_name }}
shell: bash
27 changes: 27 additions & 0 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ name: Cargo Check
on:
push:
branches:
- dev
- stage
- main

jobs:
Expand All @@ -18,6 +20,22 @@ jobs:
submodules: 'recursive'
token: ${{ secrets.CI_PAT }}

# for testing purposes
- name: Trigger test
if: false
uses: ./.github/actions/trigger-workflow
with:
workflowFileName: test.yml
token: ${{ secrets.CI_PAT }}

# for testing purposes
- name: Trigger release
if: false
uses: ./.github/actions/trigger-workflow
with:
workflowFileName: release.yml
token: ${{ secrets.CI_PAT }}

- name: Setup
uses: ./.github/actions/setup-linux-x86_64

Expand All @@ -43,3 +61,12 @@ jobs:
working-directory: ./m1
run: cargo check

- name: Trigger test
uses: ./.github/actions/trigger-workflow
with:
workflowFileName: test.yml
token: ${{ secrets.CI_PAT }}




7 changes: 2 additions & 5 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,19 @@
name: Code Coverage

on:
workflow_run:
workflows: ["Cargo Check"]
types:
- completed
workflow_dispatch:

jobs:
coverage:
runs-on:
labels: movement-runner
if: ${{ github.event.workflow_run.conclusion == 'success' }}
steps:
- name: Checkout Repository
uses: actions/checkout@v2
with:
submodules: 'recursive'
token: ${{ secrets.CI_PAT }}
ref: ${{ github.event.inputs.branch }}

- name: Set up Rust
uses: actions-rs/toolchain@v1
Expand Down
Loading
Loading